0s autopkgtest [18:37:05]: starting date and time: 2025-05-06 18:37:05+0000
0s autopkgtest [18:37:05]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production'
0s autopkgtest [18:37:05]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jchxn9o5/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:tzdata --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-s390x-3.secgroup --name adt-plucky-s390x-glib2.0-20250506-183705-juju-7f2275-prod-proposed-migration-environment-15-9a1a0547-c9d2-485a-adfe-7106ce2cfcee --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/
109s autopkgtest [18:38:54]: testbed dpkg architecture: s390x
110s autopkgtest [18:38:55]: testbed apt version: 3.0.0
110s autopkgtest [18:38:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup
110s autopkgtest [18:38:55]: testbed release detected to be: None
111s autopkgtest [18:38:56]: updating testbed package index (apt update)
111s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB]
111s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
111s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
111s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
111s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B]
111s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [5792 B]
111s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [288 B]
111s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B]
111s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [12.1 kB]
111s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [7952 B]
111s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [172 B]
114s Fetched 297 kB in 0s (750 kB/s)
114s Reading package lists...
115s autopkgtest [18:39:00]: upgrading testbed (apt dist-upgrade and autopurge)
115s Reading package lists...
115s Building dependency tree...
115s Reading state information...
115s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
115s Starting 2 pkgProblemResolver with broken count: 0
115s Done
116s Entering ResolveByKeep
116s
116s Calculating upgrade...
116s The following packages will be upgraded:
116s tzdata
116s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
116s Need to get 198 kB of archives.
116s After this operation, 0 B of additional disk space will be used.
116s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tzdata all 2025b-1ubuntu1.1 [198 kB]
116s Preconfiguring packages ...
116s Fetched 198 kB in 0s (13.6 MB/s)
117s (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 ... 59826 files and directories currently installed.)
117s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ...
117s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ...
117s Setting up tzdata (2025b-1ubuntu1.1) ...
117s
117s Current default time zone: 'Etc/UTC'
117s Local time is now: Tue May 6 18:40:23 UTC 2025.
117s Universal Time is now: Tue May 6 18:40:23 UTC 2025.
117s Run 'dpkg-reconfigure tzdata' if you wish to change it.
117s
118s Reading package lists...
118s Building dependency tree...
118s Reading state information...
118s Starting pkgProblemResolver with broken count: 0
118s Starting 2 pkgProblemResolver with broken count: 0
118s Done
119s Solving dependencies...
119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
121s autopkgtest [18:39:06]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 13:39:00 UTC 2025
121s autopkgtest [18:39:06]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0
144s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (dsc) [4812 B]
144s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (tar) [661 kB]
144s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (tar) [5615 kB]
144s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (diff) [136 kB]
146s gpgv: Signature made Fri Apr 4 19:02:25 2025 UTC
146s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D
146s gpgv: Can't check signature: No public key
146s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.84.1-1.dsc: no acceptable signature found
153s autopkgtest [18:39:38]: testing package glib2.0 version 2.84.1-1
158s autopkgtest [18:39:43]: build not needed
167s autopkgtest [18:39:52]: test build: preparing testbed
167s Reading package lists...
167s Building dependency tree...
167s Reading state information...
167s Starting pkgProblemResolver with broken count: 0
167s Starting 2 pkgProblemResolver with broken count: 0
167s Done
168s The following NEW packages will be installed:
168s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++
168s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14
168s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0
168s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1
168s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev
168s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev
168s libsysprof-capture-4-dev libubsan1 pkgconf pkgconf-bin uuid-dev zlib1g-dev
168s 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
168s Need to get 54.0 MB of archives.
168s After this operation, 177 MB of additional disk space will be used.
168s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB]
168s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB]
168s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [9572 kB]
168s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-19ubuntu2 [1024 B]
168s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B]
168s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB]
168s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 15-20250404-0ubuntu1 [49.6 kB]
168s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250404-0ubuntu1 [152 kB]
168s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 15-20250404-0ubuntu1 [31.2 kB]
168s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 15-20250404-0ubuntu1 [2966 kB]
168s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 15-20250404-0ubuntu1 [1210 kB]
168s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-19ubuntu2 [1037 kB]
168s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [18.7 MB]
169s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-19ubuntu2 [529 kB]
169s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B]
169s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B]
169s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-19ubuntu2 [2614 kB]
169s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [11.0 MB]
169s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-19ubuntu2 [23.0 kB]
169s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B]
169s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B]
169s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.12ubuntu1 [5090 B]
169s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.7-1 [58.9 kB]
169s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-14ubuntu1 [54.0 kB]
169s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-14ubuntu1 [233 kB]
169s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB]
169s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.45-1 [259 kB]
169s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.45-1 [245 kB]
169s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.45-1 [7080 B]
169s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.45-1 [899 kB]
169s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu3 [169 kB]
169s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-14ubuntu1 [34.6 kB]
169s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 48.0-2 [52.0 kB]
169s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB]
169s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB]
169s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB]
169s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB]
169s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.84.1-1 [1819 kB]
170s Fetched 54.0 MB in 2s (31.1 MB/s)
170s Selecting previously unselected package libisl23:s390x.
170s (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 ... 59826 files and directories currently installed.)
170s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ...
170s Unpacking libisl23:s390x (0.27-1) ...
170s Selecting previously unselected package libmpc3:s390x.
170s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ...
170s Unpacking libmpc3:s390x (1.3.1-1build2) ...
170s Selecting previously unselected package cpp-14-s390x-linux-gnu.
170s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
170s Unpacking cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
170s Selecting previously unselected package cpp-14.
170s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_s390x.deb ...
170s Unpacking cpp-14 (14.2.0-19ubuntu2) ...
170s Selecting previously unselected package cpp-s390x-linux-gnu.
170s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
170s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
170s Selecting previously unselected package cpp.
170s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ...
170s Unpacking cpp (4:14.2.0-1ubuntu1) ...
170s Selecting previously unselected package libcc1-0:s390x.
170s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_s390x.deb ...
170s Unpacking libcc1-0:s390x (15-20250404-0ubuntu1) ...
170s Selecting previously unselected package libgomp1:s390x.
170s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_s390x.deb ...
170s Unpacking libgomp1:s390x (15-20250404-0ubuntu1) ...
170s Selecting previously unselected package libitm1:s390x.
170s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_s390x.deb ...
170s Unpacking libitm1:s390x (15-20250404-0ubuntu1) ...
170s Selecting previously unselected package libasan8:s390x.
170s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_s390x.deb ...
170s Unpacking libasan8:s390x (15-20250404-0ubuntu1) ...
170s Selecting previously unselected package libubsan1:s390x.
170s Preparing to unpack .../10-libubsan1_15-20250404-0ubuntu1_s390x.deb ...
170s Unpacking libubsan1:s390x (15-20250404-0ubuntu1) ...
170s Selecting previously unselected package libgcc-14-dev:s390x.
170s Preparing to unpack .../11-libgcc-14-dev_14.2.0-19ubuntu2_s390x.deb ...
170s Unpacking libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
170s Selecting previously unselected package gcc-14-s390x-linux-gnu.
170s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
170s Unpacking gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
170s Selecting previously unselected package gcc-14.
170s Preparing to unpack .../13-gcc-14_14.2.0-19ubuntu2_s390x.deb ...
170s Unpacking gcc-14 (14.2.0-19ubuntu2) ...
170s Selecting previously unselected package gcc-s390x-linux-gnu.
170s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
170s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
170s Selecting previously unselected package gcc.
170s Preparing to unpack .../15-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ...
170s Unpacking gcc (4:14.2.0-1ubuntu1) ...
170s Selecting previously unselected package libstdc++-14-dev:s390x.
170s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-19ubuntu2_s390x.deb ...
170s Unpacking libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
171s Selecting previously unselected package g++-14-s390x-linux-gnu.
171s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
171s Unpacking g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
171s Selecting previously unselected package g++-14.
171s Preparing to unpack .../18-g++-14_14.2.0-19ubuntu2_s390x.deb ...
171s Unpacking g++-14 (14.2.0-19ubuntu2) ...
171s Selecting previously unselected package g++-s390x-linux-gnu.
171s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
171s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
171s Selecting previously unselected package g++.
171s Preparing to unpack .../20-g++_4%3a14.2.0-1ubuntu1_s390x.deb ...
171s Unpacking g++ (4:14.2.0-1ubuntu1) ...
171s Selecting previously unselected package build-essential.
171s Preparing to unpack .../21-build-essential_12.12ubuntu1_s390x.deb ...
171s Unpacking build-essential (12.12ubuntu1) ...
171s Selecting previously unselected package libffi-dev:s390x.
171s Preparing to unpack .../22-libffi-dev_3.4.7-1_s390x.deb ...
171s Unpacking libffi-dev:s390x (3.4.7-1) ...
171s Selecting previously unselected package uuid-dev:s390x.
171s Preparing to unpack .../23-uuid-dev_2.40.2-14ubuntu1_s390x.deb ...
171s Unpacking uuid-dev:s390x (2.40.2-14ubuntu1) ...
171s Selecting previously unselected package libblkid-dev:s390x.
171s Preparing to unpack .../24-libblkid-dev_2.40.2-14ubuntu1_s390x.deb ...
171s Unpacking libblkid-dev:s390x (2.40.2-14ubuntu1) ...
171s Selecting previously unselected package libsepol-dev:s390x.
171s Preparing to unpack .../25-libsepol-dev_3.7-1_s390x.deb ...
171s Unpacking libsepol-dev:s390x (3.7-1) ...
171s Selecting previously unselected package libpcre2-16-0:s390x.
171s Preparing to unpack .../26-libpcre2-16-0_10.45-1_s390x.deb ...
171s Unpacking libpcre2-16-0:s390x (10.45-1) ...
171s Selecting previously unselected package libpcre2-32-0:s390x.
171s Preparing to unpack .../27-libpcre2-32-0_10.45-1_s390x.deb ...
171s Unpacking libpcre2-32-0:s390x (10.45-1) ...
171s Selecting previously unselected package libpcre2-posix3:s390x.
171s Preparing to unpack .../28-libpcre2-posix3_10.45-1_s390x.deb ...
171s Unpacking libpcre2-posix3:s390x (10.45-1) ...
171s Selecting previously unselected package libpcre2-dev:s390x.
171s Preparing to unpack .../29-libpcre2-dev_10.45-1_s390x.deb ...
171s Unpacking libpcre2-dev:s390x (10.45-1) ...
171s Selecting previously unselected package libselinux1-dev:s390x.
171s Preparing to unpack .../30-libselinux1-dev_3.7-3ubuntu3_s390x.deb ...
171s Unpacking libselinux1-dev:s390x (3.7-3ubuntu3) ...
171s Selecting previously unselected package libmount-dev:s390x.
171s Preparing to unpack .../31-libmount-dev_2.40.2-14ubuntu1_s390x.deb ...
171s Unpacking libmount-dev:s390x (2.40.2-14ubuntu1) ...
171s Selecting previously unselected package libsysprof-capture-4-dev:s390x.
171s Preparing to unpack .../32-libsysprof-capture-4-dev_48.0-2_s390x.deb ...
171s Unpacking libsysprof-capture-4-dev:s390x (48.0-2) ...
171s Selecting previously unselected package libpkgconf3:s390x.
171s Preparing to unpack .../33-libpkgconf3_1.8.1-4_s390x.deb ...
171s Unpacking libpkgconf3:s390x (1.8.1-4) ...
171s Selecting previously unselected package pkgconf-bin.
171s Preparing to unpack .../34-pkgconf-bin_1.8.1-4_s390x.deb ...
171s Unpacking pkgconf-bin (1.8.1-4) ...
171s Selecting previously unselected package pkgconf:s390x.
171s Preparing to unpack .../35-pkgconf_1.8.1-4_s390x.deb ...
171s Unpacking pkgconf:s390x (1.8.1-4) ...
171s Selecting previously unselected package zlib1g-dev:s390x.
171s Preparing to unpack .../36-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ...
171s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
171s Selecting previously unselected package libgio-2.0-dev:s390x.
171s Preparing to unpack .../37-libgio-2.0-dev_2.84.1-1_s390x.deb ...
171s Unpacking libgio-2.0-dev:s390x (2.84.1-1) ...
171s Setting up libgomp1:s390x (15-20250404-0ubuntu1) ...
171s Setting up libffi-dev:s390x (3.4.7-1) ...
171s Setting up libpcre2-16-0:s390x (10.45-1) ...
171s Setting up libsysprof-capture-4-dev:s390x (48.0-2) ...
171s Setting up libpcre2-32-0:s390x (10.45-1) ...
171s Setting up libpkgconf3:s390x (1.8.1-4) ...
171s Setting up uuid-dev:s390x (2.40.2-14ubuntu1) ...
171s Setting up libmpc3:s390x (1.3.1-1build2) ...
171s Setting up libsepol-dev:s390x (3.7-1) ...
171s Setting up pkgconf-bin (1.8.1-4) ...
171s Setting up libubsan1:s390x (15-20250404-0ubuntu1) ...
171s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
171s Setting up libpcre2-posix3:s390x (10.45-1) ...
171s Setting up libasan8:s390x (15-20250404-0ubuntu1) ...
171s Setting up libisl23:s390x (0.27-1) ...
171s Setting up libcc1-0:s390x (15-20250404-0ubuntu1) ...
171s Setting up libitm1:s390x (15-20250404-0ubuntu1) ...
171s Setting up libblkid-dev:s390x (2.40.2-14ubuntu1) ...
171s Setting up libpcre2-dev:s390x (10.45-1) ...
171s Setting up libselinux1-dev:s390x (3.7-3ubuntu3) ...
171s Setting up pkgconf:s390x (1.8.1-4) ...
171s Setting up cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
171s Setting up cpp-14 (14.2.0-19ubuntu2) ...
171s Setting up libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
171s Setting up libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
171s Setting up libmount-dev:s390x (2.40.2-14ubuntu1) ...
171s Setting up libgio-2.0-dev:s390x (2.84.1-1) ...
171s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
171s Setting up gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
171s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
171s Setting up g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
171s Setting up cpp (4:14.2.0-1ubuntu1) ...
171s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
171s Setting up gcc-14 (14.2.0-19ubuntu2) ...
171s Setting up g++-14 (14.2.0-19ubuntu2) ...
171s Setting up gcc (4:14.2.0-1ubuntu1) ...
171s Setting up g++ (4:14.2.0-1ubuntu1) ...
171s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
171s Setting up build-essential (12.12ubuntu1) ...
171s Processing triggers for libc-bin (2.41-6ubuntu1) ...
171s Processing triggers for man-db (2.13.0-1) ...
172s Processing triggers for libglib2.0-0t64:s390x (2.84.1-1) ...
172s No schema files found: doing nothing.
172s Processing triggers for install-info (7.1.1-1) ...
173s autopkgtest [18:39:58]: test build: [-----------------------
173s + mode=dynamic
173s + getopt -o --long static -n debian/tests/build --
173s + getopt_temp= --
173s + eval set -- --
173s + set -- --
173s + true
173s + shift
173s + break
173s + mktemp -d
173s + WORKDIR=/tmp/tmp.xMBCe5mnYr
173s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
173s + cd /tmp/tmp.xMBCe5mnYr
173s + [ -n ]
173s + CROSS_COMPILE=
173s + cat
173s + cat
173s + cat
173s + cat
173s + cat
173s + cat
173s + cflags=
173s + pcflags=
173s + packages=glib-2.0
173s + pkg-config --cflags --libs glib-2.0
173s + 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
173s build (glib, dynamic): OK
173s run (glib, dynamic): OK
173s + echo build (glib, dynamic): OK
173s + [ -x glib-dynamic ]
173s + foo=bar ./glib-dynamic
173s + echo run (glib, dynamic): OK
173s + cflags=
173s + pcflags=
173s + packages=gobject-2.0
173s + pkg-config --cflags --libs gobject-2.0
173s + 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
173s build (gobject, dynamic): OK
173s + echo build (gobject, dynamic): OK
173s + [ -x gobject-dynamic ]
173s + foo=bar ./gobject-dynamic
173s + echo run (gobject, dynamic): OK
173s + cflags=
173s + pcflags=
173s + packages=gio-2.0
173s + pkg-config --cflags --libs gio-2.0
173s run (gobject, dynamic): OK
173s + 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
173s build (gio, dynamic): OK
173s + echo build (gio, dynamic): OK
173s + [ -x gio-dynamic ]
173s + foo=bar ./gio-dynamic
173s + echo run (gio, dynamic): OK
173s + cflags=
173s + pcflags=
173s + packages=gio-unix-2.0
173s + pkg-config --cflags --libs gio-unix-2.0
173s run (gio, dynamic): OK
173s + 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
173s build (gio-unix, dynamic): OK
173s + echo build (gio-unix, dynamic): OK
173s + [ -x gio-unix-dynamic ]
173s + foo=bar ./gio-unix-dynamic
173s + echo run (gio-unix, dynamic): OK
173s + cflags=
173s + pcflags=
173s + packages=gmodule-2.0
173s + pkg-config --cflags --libs gmodule-2.0
173s run (gio-unix, dynamic): OK
173s + 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
173s build (gmodule, dynamic): OK
173s run (gmodule, dynamic): OK
173s + echo build (gmodule, dynamic): OK
173s + [ -x gmodule-dynamic ]
173s + foo=bar ./gmodule-dynamic
173s + echo run (gmodule, dynamic): OK
173s + cflags=
173s + pcflags=
173s + packages=gthread-2.0
173s + pkg-config --cflags --libs gthread-2.0
173s + 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
173s build (gthread, dynamic): OK
173s + echo build (gthread, dynamic): OK
173s + [ -x gthread-dynamic ]
173s + foo=bar ./gthread-dynamic
173s + echo run (gthread, dynamic): OK
173s + rm -rf /tmp/tmp.xMBCe5mnYr
173s run (gthread, dynamic): OK
174s autopkgtest [18:39:59]: test build: -----------------------]
174s build PASS (superficial)
174s autopkgtest [18:39:59]: test build: - - - - - - - - - - results - - - - - - - - - -
174s autopkgtest [18:39:59]: test build-static: preparing testbed
174s Reading package lists...
175s Building dependency tree...
175s Reading state information...
175s Starting pkgProblemResolver with broken count: 0
175s Starting 2 pkgProblemResolver with broken count: 0
175s Done
175s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
175s autopkgtest [18:40:00]: test build-static: [-----------------------
176s + mode=dynamic
176s + getopt -o --long static -n debian/tests/build -- --static
176s + getopt_temp= --static --
176s + eval set -- --static --
176s + set -- --static --
176s + true
176s + mode=static
176s + shift
176s + continue
176s + true
176s + shift
176s + break
176s + mktemp -d
176s + WORKDIR=/tmp/tmp.NNdqYoMkuO
176s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
176s + cd /tmp/tmp.NNdqYoMkuO
176s + [ -n ]
176s + CROSS_COMPILE=
176s + cat
176s + cat
176s + cat
176s + cat
176s + cat
176s + cat
176s + cflags=
176s + pcflags=
176s + packages=glib-2.0
176s + cflags=-static
176s + pcflags=--static
176s + pkg-config --static --cflags --libs glib-2.0
176s + 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
176s /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':
176s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /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
176s /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
176s build (glib, static): OK
176s run (glib, static): OK
176s + echo build (glib, static): OK
176s + [ -x glib-static ]
176s + foo=bar ./glib-static
176s + echo run (glib, static): OK
176s + cflags=
176s + pcflags=
176s + packages=gobject-2.0
176s + cflags=-static
176s + pcflags=--static
176s + pkg-config --static --cflags --libs gobject-2.0
176s + 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
176s /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':
176s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /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
176s /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
176s build (gobject, static): OK
176s run (gobject, static): OK
176s + echo build (gobject, static): OK
176s + [ -x gobject-static ]
176s + foo=bar ./gobject-static
176s + echo run (gobject, static): OK
176s + cflags=
176s + pcflags=
176s + packages=gio-2.0
176s + cflags=-static
176s + pcflags=--static
176s + continue
176s + cflags=
176s + pcflags=
176s + packages=gio-unix-2.0
176s + cflags=-static
176s + pcflags=--static
176s + continue
176s + cflags=
176s + pcflags=
176s + packages=gmodule-2.0
176s + cflags=-static
176s + pcflags=--static
176s + pkg-config --static --cflags --libs gmodule-2.0
176s + 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
176s /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':
176s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /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':
176s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /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
176s /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
176s build (gmodule, static): OK
176s + echo build (gmodule, static): OK
176s + [ -x gmodule-static ]
176s + foo=bar ./gmodule-static
177s run (gmodule, static): OK
177s + echo run (gmodule, static): OK
177s + cflags=
177s + pcflags=
177s + packages=gthread-2.0
177s + cflags=-static
177s + pcflags=--static
177s + pkg-config --static --cflags --libs gthread-2.0
177s + 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
177s /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':
177s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
177s /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
177s /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
177s build (gthread, static): OK
177s + echo build (gthread, static): OK
177s + [ -x gthread-static ]
177s + foo=bar ./gthread-static
177s + echo run (gthread, static): OK
177s + rm -rf /tmp/tmp.NNdqYoMkuO
177s run (gthread, static): OK
178s autopkgtest [18:40:03]: test build-static: -----------------------]
179s build-static PASS (superficial)
179s autopkgtest [18:40:04]: test build-static: - - - - - - - - - - results - - - - - - - - - -
179s autopkgtest [18:40:04]: test girepository-tools: preparing testbed
255s autopkgtest [18:41:20]: testbed dpkg architecture: s390x
255s autopkgtest [18:41:20]: testbed apt version: 3.0.0
256s autopkgtest [18:41:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup
256s autopkgtest [18:41:21]: testbed release detected to be: plucky
256s autopkgtest [18:41:21]: updating testbed package index (apt update)
257s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB]
257s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
257s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
257s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
257s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B]
257s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [5792 B]
257s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [288 B]
257s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B]
257s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [12.1 kB]
257s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [7952 B]
257s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [172 B]
258s Fetched 297 kB in 0s (691 kB/s)
259s Reading package lists...
259s autopkgtest [18:41:24]: upgrading testbed (apt dist-upgrade and autopurge)
260s Reading package lists...
260s Building dependency tree...
260s Reading state information...
270s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
270s Starting 2 pkgProblemResolver with broken count: 0
270s Done
270s Entering ResolveByKeep
270s
270s Calculating upgrade...
270s The following packages will be upgraded:
270s tzdata
270s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
270s Need to get 198 kB of archives.
270s After this operation, 0 B of additional disk space will be used.
270s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tzdata all 2025b-1ubuntu1.1 [198 kB]
270s Preconfiguring packages ...
270s Fetched 198 kB in 0s (13.4 MB/s)
270s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 59826 files and directories currently installed.)
270s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ...
270s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ...
270s Setting up tzdata (2025b-1ubuntu1.1) ...
270s
270s Current default time zone: 'Etc/UTC'
270s Local time is now: Tue May 6 18:43:15 UTC 2025.
270s Universal Time is now: Tue May 6 18:43:15 UTC 2025.
270s Run 'dpkg-reconfigure tzdata' if you wish to change it.
270s
270s Reading package lists...
270s Building dependency tree...
270s Reading state information...
270s Starting pkgProblemResolver with broken count: 0
270s Starting 2 pkgProblemResolver with broken count: 0
270s Done
270s Solving dependencies...
270s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
280s Reading package lists...
281s Building dependency tree...
281s Reading state information...
281s Starting pkgProblemResolver with broken count: 0
281s Starting 2 pkgProblemResolver with broken count: 0
281s Done
281s The following NEW packages will be installed:
281s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0
281s native-architecture
281s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
281s Need to get 1055 kB of archives.
281s After this operation, 12.7 MB of additional disk space will be used.
281s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.84.1-1 [862 kB]
281s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.6 [2140 B]
281s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.84.1-1 [75.5 kB]
281s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.84.1-1 [115 kB]
282s Fetched 1055 kB in 0s (3698 kB/s)
282s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x.
282s (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 ... 59826 files and directories currently installed.)
282s Preparing to unpack .../gir1.2-glib-2.0-dev_2.84.1-1_s390x.deb ...
282s Unpacking gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
282s Selecting previously unselected package native-architecture.
282s Preparing to unpack .../native-architecture_0.2.6_all.deb ...
282s Unpacking native-architecture (0.2.6) ...
282s Selecting previously unselected package libgirepository-2.0-0:s390x.
282s Preparing to unpack .../libgirepository-2.0-0_2.84.1-1_s390x.deb ...
282s Unpacking libgirepository-2.0-0:s390x (2.84.1-1) ...
282s Selecting previously unselected package girepository-tools:s390x.
282s Preparing to unpack .../girepository-tools_2.84.1-1_s390x.deb ...
282s Unpacking girepository-tools:s390x (2.84.1-1) ...
282s Setting up native-architecture (0.2.6) ...
282s Setting up libgirepository-2.0-0:s390x (2.84.1-1) ...
282s Setting up gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
282s Setting up girepository-tools:s390x (2.84.1-1) ...
282s Processing triggers for man-db (2.13.0-1) ...
283s Processing triggers for libc-bin (2.41-6ubuntu1) ...
289s autopkgtest [18:41:54]: test girepository-tools: [-----------------------
289s + cd /tmp/autopkgtest.lWHyJ6/autopkgtest_tmp
289s + dpkg-architecture -qDEB_HOST_GNU_TYPE
289s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
289s + DEB_HOST_GNU_TYPE=s390x-linux-gnu
289s + dpkg-architecture -qDEB_HOST_MULTIARCH
289s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
289s + DEB_HOST_MULTIARCH=s390x-linux-gnu
289s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
289s typelib: GLib-2.0
289s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir
289s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
290s autopkgtest [18:41:55]: test girepository-tools: -----------------------]
290s autopkgtest [18:41:55]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - -
290s girepository-tools PASS (superficial)
290s autopkgtest [18:41:55]: test libgio-2.0-dev-bin: preparing testbed
353s autopkgtest [18:42:58]: testbed dpkg architecture: s390x
353s autopkgtest [18:42:58]: testbed apt version: 3.0.0
353s autopkgtest [18:42:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup
353s autopkgtest [18:42:58]: testbed release detected to be: plucky
354s autopkgtest [18:42:59]: updating testbed package index (apt update)
354s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB]
354s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
354s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
354s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
354s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B]
354s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [5792 B]
354s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [288 B]
354s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B]
355s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [12.1 kB]
355s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [7952 B]
355s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [172 B]
358s Fetched 297 kB in 0s (762 kB/s)
360s Reading package lists...
362s autopkgtest [18:43:07]: upgrading testbed (apt dist-upgrade and autopurge)
362s Reading package lists...
363s Building dependency tree...
363s Reading state information...
364s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
364s Starting 2 pkgProblemResolver with broken count: 0
364s Done
366s Entering ResolveByKeep
367s
367s Calculating upgrade...
367s The following packages will be upgraded:
367s tzdata
367s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
367s Need to get 198 kB of archives.
367s After this operation, 0 B of additional disk space will be used.
367s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tzdata all 2025b-1ubuntu1.1 [198 kB]
368s Preconfiguring packages ...
368s Fetched 198 kB in 0s (3601 kB/s)
369s (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 ... 59826 files and directories currently installed.)
369s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ...
369s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ...
369s Setting up tzdata (2025b-1ubuntu1.1) ...
369s
369s Current default time zone: 'Etc/UTC'
369s Local time is now: Tue May 6 18:44:58 UTC 2025.
369s Universal Time is now: Tue May 6 18:44:58 UTC 2025.
369s Run 'dpkg-reconfigure tzdata' if you wish to change it.
369s
369s Reading package lists...
369s Building dependency tree...
369s Reading state information...
370s Starting pkgProblemResolver with broken count: 0
370s Starting 2 pkgProblemResolver with broken count: 0
370s Done
370s Solving dependencies...
370s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
372s Reading package lists...
372s Building dependency tree...
372s Reading state information...
372s Starting pkgProblemResolver with broken count: 0
372s Starting 2 pkgProblemResolver with broken count: 0
372s Done
373s The following NEW packages will be installed:
373s libgio-2.0-dev-bin
373s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
373s Need to get 129 kB of archives.
373s After this operation, 698 kB of additional disk space will be used.
373s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.84.1-1 [129 kB]
373s Fetched 129 kB in 0s (0 B/s)
373s Selecting previously unselected package libgio-2.0-dev-bin.
373s (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 ... 59826 files and directories currently installed.)
373s Preparing to unpack .../libgio-2.0-dev-bin_2.84.1-1_s390x.deb ...
373s Unpacking libgio-2.0-dev-bin (2.84.1-1) ...
373s Setting up libgio-2.0-dev-bin (2.84.1-1) ...
373s Processing triggers for man-db (2.13.0-1) ...
378s autopkgtest [18:43:23]: test libgio-2.0-dev-bin: [-----------------------
378s + gdbus-codegen --help
378s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
378s [--c-namespace NAMESPACE] [--c-generate-object-manager]
378s [--c-generate-autocleanup {none,objects,all}]
378s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
378s [--generate-rst OUTFILES] [--pragma-once]
378s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
378s [--glib-min-required VERSION]
378s [--glib-max-allowed VERSION]
378s [--symbol-decorator SYMBOL_DECORATOR]
378s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
378s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
378s [--generate-c-code OUTFILES | --header | --body |
378s --interface-info-header | --interface-info-body]
378s [--output FILE | --output-directory OUTDIR]
378s FILE [FILE ...]
378s
378s D-Bus code and documentation generator
378s
378s positional arguments:
378s FILE D-Bus introspection XML file
378s
378s options:
378s -h, --help show this help message and exit
378s --interface-prefix PREFIX
378s String to strip from D-Bus interface names for code
378s and docs
378s --c-namespace NAMESPACE
378s The namespace to use for generated C code
378s --c-generate-object-manager
378s Generate a GDBusObjectManagerClient subclass when
378s generating C code
378s --c-generate-autocleanup {none,objects,all}
378s Generate autocleanup support
378s --generate-docbook OUTFILES
378s Generate Docbook in OUTFILES-org.Project.IFace.xml
378s --generate-md OUTFILES
378s Generate Markdown in OUTFILES-org.Project.IFace.md
378s --generate-rst OUTFILES
378s Generate reStructuredText in OUTFILES-
378s org.Project.IFace.rst
378s --pragma-once Use "pragma once" as the inclusion guard
378s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
378s Add annotation (may be used several times)
378s --glib-min-required VERSION
378s Minimum version of GLib to be supported by the
378s outputted code (default: 2.30)
378s --glib-max-allowed VERSION
378s Maximum version of GLib to be used by the outputted
378s code (default: current GLib version)
378s --symbol-decorator SYMBOL_DECORATOR
378s Macro used to decorate a symbol in the outputted
378s header, possibly to export symbols
378s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
378s Additional header required for decorator specified by
378s --symbol-decorator
378s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
378s Additional define required for decorator specified by
378s --symbol-decorator
378s --generate-c-code OUTFILES
378s Generate C code in OUTFILES.[ch]
378s --header Generate C headers
378s --body Generate C code
378s --interface-info-header
378s Generate GDBusInterfaceInfo C header
378s --interface-info-body
378s Generate GDBusInterfaceInfo C code
378s --output FILE Write output into the specified file
378s --output-directory OUTDIR
378s Location to output generated files
378s + glib-compile-resources --version
378s 2.84.1
378s + glib-genmarshal --version
378s glib-genmarshal version 2.84.1
378s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
378s You may redistribute copies of glib-genmarshal under the terms of
378s the GNU General Public License which can be found in the
378s GLib source package. Sources, examples and contact
378s information are available at http://www.gtk.org
378s /usr/bin/glib-gettextize (GNU glib) 2.84.1
378s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
378s This is free software; see the source for copying conditions. There is NO
378s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
378s Written by Ulrich Drepper
378s + glib-gettextize --version
378s + glib-mkenums --version
378s glib-mkenums version 2.84.1
378s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
378s You may redistribute copies of glib-mkenums under the terms of
378s the GNU General Public License which can be found in the
378s GLib source package. Sources, examples and contact
378s information are available at http://www.gtk.org
378s + gobject-query tree
378s GObject
378s + gtester --version
378s gtester version 2.84.1
378s + gtester-report --version
378s gtester-report (GLib utils) version 2.84.1.
379s autopkgtest [18:43:24]: test libgio-2.0-dev-bin: -----------------------]
379s libgio-2.0-dev-bin PASS (superficial)
379s autopkgtest [18:43:24]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - -
379s autopkgtest [18:43:24]: test libglib2.0-dev: preparing testbed
451s autopkgtest [18:44:36]: testbed dpkg architecture: s390x
451s autopkgtest [18:44:36]: testbed apt version: 3.0.0
451s autopkgtest [18:44:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup
451s autopkgtest [18:44:36]: testbed release detected to be: plucky
452s autopkgtest [18:44:37]: updating testbed package index (apt update)
452s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB]
452s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
452s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
452s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
452s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B]
452s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [5792 B]
452s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [288 B]
452s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B]
452s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [12.1 kB]
452s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [7952 B]
452s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [172 B]
453s Fetched 297 kB in 0s (730 kB/s)
454s Reading package lists...
454s autopkgtest [18:44:39]: upgrading testbed (apt dist-upgrade and autopurge)
455s Reading package lists...
455s Building dependency tree...
455s Reading state information...
455s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
455s Starting 2 pkgProblemResolver with broken count: 0
455s Done
455s Entering ResolveByKeep
455s
455s Calculating upgrade...
455s The following packages will be upgraded:
455s tzdata
455s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
455s Need to get 198 kB of archives.
455s After this operation, 0 B of additional disk space will be used.
455s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tzdata all 2025b-1ubuntu1.1 [198 kB]
456s Preconfiguring packages ...
456s Fetched 198 kB in 0s (0 B/s)
456s (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 ... 59826 files and directories currently installed.)
456s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ...
456s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ...
456s Setting up tzdata (2025b-1ubuntu1.1) ...
456s
456s Current default time zone: 'Etc/UTC'
456s Local time is now: Tue May 6 18:46:02 UTC 2025.
456s Universal Time is now: Tue May 6 18:46:02 UTC 2025.
456s Run 'dpkg-reconfigure tzdata' if you wish to change it.
456s
456s Reading package lists...
457s Building dependency tree...
457s Reading state information...
457s Starting pkgProblemResolver with broken count: 0
457s Starting 2 pkgProblemResolver with broken count: 0
457s Done
457s Solving dependencies...
457s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
459s Reading package lists...
459s Building dependency tree...
459s Reading state information...
459s Starting pkgProblemResolver with broken count: 0
459s Starting 2 pkgProblemResolver with broken count: 0
459s Done
460s The following NEW packages will be installed:
460s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++
460s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14
460s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gir1.2-glib-2.0-dev
460s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev
460s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin
460s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev
460s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3
460s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev
460s libubsan1 native-architecture pkgconf pkgconf-bin uuid-dev zlib1g-dev
460s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
460s Need to get 55.3 MB of archives.
460s After this operation, 191 MB of additional disk space will be used.
460s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB]
460s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB]
460s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [9572 kB]
460s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-19ubuntu2 [1024 B]
460s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B]
460s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB]
460s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 15-20250404-0ubuntu1 [49.6 kB]
460s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250404-0ubuntu1 [152 kB]
460s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 15-20250404-0ubuntu1 [31.2 kB]
460s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 15-20250404-0ubuntu1 [2966 kB]
460s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 15-20250404-0ubuntu1 [1210 kB]
460s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-19ubuntu2 [1037 kB]
460s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [18.7 MB]
461s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-19ubuntu2 [529 kB]
461s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B]
461s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B]
461s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-19ubuntu2 [2614 kB]
461s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [11.0 MB]
461s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-19ubuntu2 [23.0 kB]
461s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B]
461s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B]
461s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.12ubuntu1 [5090 B]
461s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.84.1-1 [862 kB]
461s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.6 [2140 B]
461s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.84.1-1 [75.5 kB]
461s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.84.1-1 [115 kB]
461s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.7-1 [58.9 kB]
461s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-14ubuntu1 [54.0 kB]
461s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-14ubuntu1 [233 kB]
461s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB]
461s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.45-1 [259 kB]
461s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.45-1 [245 kB]
461s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.45-1 [7080 B]
461s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.45-1 [899 kB]
461s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu3 [169 kB]
461s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-14ubuntu1 [34.6 kB]
461s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 48.0-2 [52.0 kB]
461s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB]
461s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB]
461s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB]
461s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB]
461s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.84.1-1 [1819 kB]
461s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.84.1-1 [129 kB]
461s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.84.1-1 [99.7 kB]
461s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.84.1-1 [18.1 kB]
461s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev s390x 2.84.1-1 [18.9 kB]
461s Fetched 55.3 MB in 1s (42.5 MB/s)
461s Selecting previously unselected package libisl23:s390x.
461s (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 ... 59826 files and directories currently installed.)
461s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ...
461s Unpacking libisl23:s390x (0.27-1) ...
461s Selecting previously unselected package libmpc3:s390x.
461s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ...
461s Unpacking libmpc3:s390x (1.3.1-1build2) ...
461s Selecting previously unselected package cpp-14-s390x-linux-gnu.
461s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
461s Unpacking cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package cpp-14.
462s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_s390x.deb ...
462s Unpacking cpp-14 (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package cpp-s390x-linux-gnu.
462s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
462s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
462s Selecting previously unselected package cpp.
462s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ...
462s Unpacking cpp (4:14.2.0-1ubuntu1) ...
462s Selecting previously unselected package libcc1-0:s390x.
462s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_s390x.deb ...
462s Unpacking libcc1-0:s390x (15-20250404-0ubuntu1) ...
462s Selecting previously unselected package libgomp1:s390x.
462s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_s390x.deb ...
462s Unpacking libgomp1:s390x (15-20250404-0ubuntu1) ...
462s Selecting previously unselected package libitm1:s390x.
462s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_s390x.deb ...
462s Unpacking libitm1:s390x (15-20250404-0ubuntu1) ...
462s Selecting previously unselected package libasan8:s390x.
462s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_s390x.deb ...
462s Unpacking libasan8:s390x (15-20250404-0ubuntu1) ...
462s Selecting previously unselected package libubsan1:s390x.
462s Preparing to unpack .../10-libubsan1_15-20250404-0ubuntu1_s390x.deb ...
462s Unpacking libubsan1:s390x (15-20250404-0ubuntu1) ...
462s Selecting previously unselected package libgcc-14-dev:s390x.
462s Preparing to unpack .../11-libgcc-14-dev_14.2.0-19ubuntu2_s390x.deb ...
462s Unpacking libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package gcc-14-s390x-linux-gnu.
462s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
462s Unpacking gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package gcc-14.
462s Preparing to unpack .../13-gcc-14_14.2.0-19ubuntu2_s390x.deb ...
462s Unpacking gcc-14 (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package gcc-s390x-linux-gnu.
462s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
462s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
462s Selecting previously unselected package gcc.
462s Preparing to unpack .../15-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ...
462s Unpacking gcc (4:14.2.0-1ubuntu1) ...
462s Selecting previously unselected package libstdc++-14-dev:s390x.
462s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-19ubuntu2_s390x.deb ...
462s Unpacking libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package g++-14-s390x-linux-gnu.
462s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
462s Unpacking g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package g++-14.
462s Preparing to unpack .../18-g++-14_14.2.0-19ubuntu2_s390x.deb ...
462s Unpacking g++-14 (14.2.0-19ubuntu2) ...
462s Selecting previously unselected package g++-s390x-linux-gnu.
462s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
462s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
462s Selecting previously unselected package g++.
462s Preparing to unpack .../20-g++_4%3a14.2.0-1ubuntu1_s390x.deb ...
462s Unpacking g++ (4:14.2.0-1ubuntu1) ...
462s Selecting previously unselected package build-essential.
462s Preparing to unpack .../21-build-essential_12.12ubuntu1_s390x.deb ...
462s Unpacking build-essential (12.12ubuntu1) ...
462s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x.
462s Preparing to unpack .../22-gir1.2-glib-2.0-dev_2.84.1-1_s390x.deb ...
462s Unpacking gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
462s Selecting previously unselected package native-architecture.
462s Preparing to unpack .../23-native-architecture_0.2.6_all.deb ...
462s Unpacking native-architecture (0.2.6) ...
463s Selecting previously unselected package libgirepository-2.0-0:s390x.
463s Preparing to unpack .../24-libgirepository-2.0-0_2.84.1-1_s390x.deb ...
463s Unpacking libgirepository-2.0-0:s390x (2.84.1-1) ...
463s Selecting previously unselected package girepository-tools:s390x.
463s Preparing to unpack .../25-girepository-tools_2.84.1-1_s390x.deb ...
463s Unpacking girepository-tools:s390x (2.84.1-1) ...
463s Selecting previously unselected package libffi-dev:s390x.
463s Preparing to unpack .../26-libffi-dev_3.4.7-1_s390x.deb ...
463s Unpacking libffi-dev:s390x (3.4.7-1) ...
463s Selecting previously unselected package uuid-dev:s390x.
463s Preparing to unpack .../27-uuid-dev_2.40.2-14ubuntu1_s390x.deb ...
463s Unpacking uuid-dev:s390x (2.40.2-14ubuntu1) ...
463s Selecting previously unselected package libblkid-dev:s390x.
463s Preparing to unpack .../28-libblkid-dev_2.40.2-14ubuntu1_s390x.deb ...
463s Unpacking libblkid-dev:s390x (2.40.2-14ubuntu1) ...
463s Selecting previously unselected package libsepol-dev:s390x.
463s Preparing to unpack .../29-libsepol-dev_3.7-1_s390x.deb ...
463s Unpacking libsepol-dev:s390x (3.7-1) ...
463s Selecting previously unselected package libpcre2-16-0:s390x.
463s Preparing to unpack .../30-libpcre2-16-0_10.45-1_s390x.deb ...
463s Unpacking libpcre2-16-0:s390x (10.45-1) ...
463s Selecting previously unselected package libpcre2-32-0:s390x.
463s Preparing to unpack .../31-libpcre2-32-0_10.45-1_s390x.deb ...
463s Unpacking libpcre2-32-0:s390x (10.45-1) ...
463s Selecting previously unselected package libpcre2-posix3:s390x.
463s Preparing to unpack .../32-libpcre2-posix3_10.45-1_s390x.deb ...
463s Unpacking libpcre2-posix3:s390x (10.45-1) ...
463s Selecting previously unselected package libpcre2-dev:s390x.
463s Preparing to unpack .../33-libpcre2-dev_10.45-1_s390x.deb ...
463s Unpacking libpcre2-dev:s390x (10.45-1) ...
463s Selecting previously unselected package libselinux1-dev:s390x.
463s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu3_s390x.deb ...
463s Unpacking libselinux1-dev:s390x (3.7-3ubuntu3) ...
463s Selecting previously unselected package libmount-dev:s390x.
463s Preparing to unpack .../35-libmount-dev_2.40.2-14ubuntu1_s390x.deb ...
463s Unpacking libmount-dev:s390x (2.40.2-14ubuntu1) ...
463s Selecting previously unselected package libsysprof-capture-4-dev:s390x.
463s Preparing to unpack .../36-libsysprof-capture-4-dev_48.0-2_s390x.deb ...
463s Unpacking libsysprof-capture-4-dev:s390x (48.0-2) ...
463s Selecting previously unselected package libpkgconf3:s390x.
463s Preparing to unpack .../37-libpkgconf3_1.8.1-4_s390x.deb ...
463s Unpacking libpkgconf3:s390x (1.8.1-4) ...
463s Selecting previously unselected package pkgconf-bin.
463s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_s390x.deb ...
463s Unpacking pkgconf-bin (1.8.1-4) ...
463s Selecting previously unselected package pkgconf:s390x.
463s Preparing to unpack .../39-pkgconf_1.8.1-4_s390x.deb ...
463s Unpacking pkgconf:s390x (1.8.1-4) ...
463s Selecting previously unselected package zlib1g-dev:s390x.
463s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ...
463s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
463s Selecting previously unselected package libgio-2.0-dev:s390x.
463s Preparing to unpack .../41-libgio-2.0-dev_2.84.1-1_s390x.deb ...
463s Unpacking libgio-2.0-dev:s390x (2.84.1-1) ...
463s Selecting previously unselected package libgio-2.0-dev-bin.
463s Preparing to unpack .../42-libgio-2.0-dev-bin_2.84.1-1_s390x.deb ...
463s Unpacking libgio-2.0-dev-bin (2.84.1-1) ...
463s Selecting previously unselected package libglib2.0-bin.
463s Preparing to unpack .../43-libglib2.0-bin_2.84.1-1_s390x.deb ...
463s Unpacking libglib2.0-bin (2.84.1-1) ...
463s Selecting previously unselected package libglib2.0-dev-bin.
463s Preparing to unpack .../44-libglib2.0-dev-bin_2.84.1-1_s390x.deb ...
463s Unpacking libglib2.0-dev-bin (2.84.1-1) ...
463s Selecting previously unselected package libglib2.0-dev:s390x.
463s Preparing to unpack .../45-libglib2.0-dev_2.84.1-1_s390x.deb ...
463s Unpacking libglib2.0-dev:s390x (2.84.1-1) ...
463s Setting up libgio-2.0-dev-bin (2.84.1-1) ...
463s Setting up native-architecture (0.2.6) ...
463s Setting up libgirepository-2.0-0:s390x (2.84.1-1) ...
463s Setting up libglib2.0-bin (2.84.1-1) ...
463s Setting up libgomp1:s390x (15-20250404-0ubuntu1) ...
463s Setting up libffi-dev:s390x (3.4.7-1) ...
463s Setting up libpcre2-16-0:s390x (10.45-1) ...
463s Setting up libsysprof-capture-4-dev:s390x (48.0-2) ...
463s Setting up libpcre2-32-0:s390x (10.45-1) ...
463s Setting up libpkgconf3:s390x (1.8.1-4) ...
463s Setting up uuid-dev:s390x (2.40.2-14ubuntu1) ...
463s Setting up libmpc3:s390x (1.3.1-1build2) ...
463s Setting up libsepol-dev:s390x (3.7-1) ...
463s Setting up pkgconf-bin (1.8.1-4) ...
463s Setting up libubsan1:s390x (15-20250404-0ubuntu1) ...
463s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
463s Setting up libpcre2-posix3:s390x (10.45-1) ...
463s Setting up gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
463s Setting up libasan8:s390x (15-20250404-0ubuntu1) ...
463s Setting up libisl23:s390x (0.27-1) ...
463s Setting up libcc1-0:s390x (15-20250404-0ubuntu1) ...
463s Setting up libitm1:s390x (15-20250404-0ubuntu1) ...
463s Setting up libblkid-dev:s390x (2.40.2-14ubuntu1) ...
463s Setting up girepository-tools:s390x (2.84.1-1) ...
463s Setting up libpcre2-dev:s390x (10.45-1) ...
463s Setting up libselinux1-dev:s390x (3.7-3ubuntu3) ...
463s Setting up pkgconf:s390x (1.8.1-4) ...
463s Setting up cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
463s Setting up cpp-14 (14.2.0-19ubuntu2) ...
463s Setting up libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
463s Setting up libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
463s Setting up libmount-dev:s390x (2.40.2-14ubuntu1) ...
463s Setting up libglib2.0-dev-bin (2.84.1-1) ...
463s Setting up libgio-2.0-dev:s390x (2.84.1-1) ...
463s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
463s Setting up gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
463s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
463s Setting up g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
463s Setting up cpp (4:14.2.0-1ubuntu1) ...
463s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
463s Setting up gcc-14 (14.2.0-19ubuntu2) ...
463s Setting up g++-14 (14.2.0-19ubuntu2) ...
463s Setting up gcc (4:14.2.0-1ubuntu1) ...
463s Setting up g++ (4:14.2.0-1ubuntu1) ...
463s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
463s Setting up build-essential (12.12ubuntu1) ...
463s Processing triggers for install-info (7.1.1-1) ...
463s Processing triggers for libc-bin (2.41-6ubuntu1) ...
463s Processing triggers for man-db (2.13.0-1) ...
465s Processing triggers for libglib2.0-0t64:s390x (2.84.1-1) ...
465s No schema files found: doing nothing.
465s Setting up libglib2.0-dev:s390x (2.84.1-1) ...
470s autopkgtest [18:44:55]: test libglib2.0-dev: [-----------------------
470s + debian/tests/build
470s + mode=dynamic
470s + getopt -o --long static -n debian/tests/build --
470s + getopt_temp= --
470s + eval set -- --
470s + set -- --
470s + true
470s + shift
470s + break
470s + mktemp -d
470s + WORKDIR=/tmp/tmp.VCwRqKU7CP
470s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
470s + cd /tmp/tmp.VCwRqKU7CP
470s + [ -n ]
470s + CROSS_COMPILE=
470s + cat
470s + cat
470s + cat
470s + cat
470s + cat
470s + cat
470s + cflags=
470s + pcflags=
470s + packages=glib-2.0
470s + pkg-config --cflags --libs glib-2.0
470s + 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
470s build (glib, dynamic): OK
470s + echo build (glib, dynamic): OK
470s + [ -x glib-dynamic ]
470s + foo=bar ./glib-dynamic
470s run (glib, dynamic): OK
470s + echo run (glib, dynamic): OK
470s + cflags=
470s + pcflags=
470s + packages=gobject-2.0
470s + pkg-config --cflags --libs gobject-2.0
470s + 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
470s build (gobject, dynamic): OK
470s + echo build (gobject, dynamic): OK
470s + [ -x gobject-dynamic ]
470s + foo=bar ./gobject-dynamic
470s run (gobject, dynamic): OK
470s + echo run (gobject, dynamic): OK
470s + cflags=
470s + pcflags=
470s + packages=gio-2.0
470s + pkg-config --cflags --libs gio-2.0
470s + 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
470s build (gio, dynamic): OK
470s + echo build (gio, dynamic): OK
470s + [ -x gio-dynamic ]
470s + foo=bar ./gio-dynamic
470s run (gio, dynamic): OK
470s + echo run (gio, dynamic): OK
470s + cflags=
470s + pcflags=
470s + packages=gio-unix-2.0
470s + pkg-config --cflags --libs gio-unix-2.0
470s + 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
470s build (gio-unix, dynamic): OK
470s + echo build (gio-unix, dynamic): OK
470s + [ -x gio-unix-dynamic ]
470s + foo=bar ./gio-unix-dynamic
470s run (gio-unix, dynamic): OK
470s + echo run (gio-unix, dynamic): OK
470s + cflags=
470s + pcflags=
470s + packages=gmodule-2.0
470s + pkg-config --cflags --libs gmodule-2.0
470s + 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
471s build (gmodule, dynamic): OK
471s + echo build (gmodule, dynamic): OK
471s + [ -x gmodule-dynamic ]
471s + foo=bar ./gmodule-dynamic
471s + echo run (gmodule, dynamic): OK
471s + cflags=
471s + pcflags=
471s + packages=gthread-2.0
471s + pkg-config --cflags --libs gthread-2.0
471s run (gmodule, dynamic): OK
471s + 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
471s + echo build (gthread, dynamic): OK
471s + [ -x gthread-dynamic ]
471s + foo=bar ./gthread-dynamic
471s build (gthread, dynamic): OK
471s run (gthread, dynamic): OK
471s + echo run (gthread, dynamic): OK
471s + rm -rf /tmp/tmp.VCwRqKU7CP
471s + debian/tests/build-static
471s + mode=dynamic
471s + getopt -o --long static -n debian/tests/build -- --static
471s + getopt_temp= --static --
471s + eval set -- --static --
471s + set -- --static --
471s + true
471s + mode=static
471s + shift
471s + continue
471s + true
471s + shift
471s + break
471s + mktemp -d
471s + WORKDIR=/tmp/tmp.gs1ZC5jR0x
471s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
471s + cd /tmp/tmp.gs1ZC5jR0x
471s + [ -n ]
471s + CROSS_COMPILE=
471s + cat
471s + cat
471s + cat
471s + cat
471s + cat
471s + cat
471s + cflags=
471s + pcflags=
471s + packages=glib-2.0
471s + cflags=-static
471s + pcflags=--static
471s + pkg-config --static --cflags --libs glib-2.0
471s + 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
471s /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':
471s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
471s /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
471s /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
471s build (glib, static): OK
471s run (glib, static): OK
471s + echo build (glib, static): OK
471s + [ -x glib-static ]
471s + foo=bar ./glib-static
471s + echo run (glib, static): OK
471s + cflags=
471s + pcflags=
471s + packages=gobject-2.0
471s + cflags=-static
471s + pcflags=--static
471s + pkg-config --static --cflags --libs gobject-2.0
471s + 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
471s /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':
471s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
471s /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
471s /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
471s + echo build (gobject, static): OK
471s + [ -x gobject-static ]
471s + foo=bar ./gobject-static
471s build (gobject, static): OK
471s + echo run (gobject, static): OK
471s run (gobject, static): OK
471s + cflags=
471s + pcflags=
471s + packages=gio-2.0
471s + cflags=-static
471s + pcflags=--static
471s + continue
471s + cflags=
471s + pcflags=
471s + packages=gio-unix-2.0
471s + cflags=-static
471s + pcflags=--static
471s + continue
471s + cflags=
471s + pcflags=
471s + packages=gmodule-2.0
471s + cflags=-static
471s + pcflags=--static
471s + pkg-config --static --cflags --libs gmodule-2.0
471s + 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
471s /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':
471s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
471s /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':
471s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
471s /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
471s /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
471s build (gmodule, static): OK
471s + echo build (gmodule, static): OK
471s + [ -x gmodule-static ]
471s + foo=bar ./gmodule-static
471s run (gmodule, static): OK
471s + echo run (gmodule, static): OK
471s + cflags=
471s + pcflags=
471s + packages=gthread-2.0
471s + cflags=-static
471s + pcflags=--static
471s + pkg-config --static --cflags --libs gthread-2.0
471s + 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
471s /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':
471s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
471s /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
471s /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
471s build (gthread, static): OK
471s + echo build (gthread, static): OK
471s + [ -x gthread-static ]
471s + foo=bar ./gthread-static
471s + echo run (gthread, static): OK
471s + rm -rf /tmp/tmp.gs1ZC5jR0x
471s run (gthread, static): OK
471s + debian/tests/girepository-tools
471s + cd /tmp/autopkgtest.lWHyJ6/autopkgtest_tmp
471s + dpkg-architecture -qDEB_HOST_GNU_TYPE
471s + DEB_HOST_GNU_TYPE=s390x-linux-gnu
471s + dpkg-architecture -qDEB_HOST_MULTIARCH
471s + DEB_HOST_MULTIARCH=s390x-linux-gnu
471s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
471s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir
471s typelib: GLib-2.0
472s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
472s + debian/tests/libgio-2.0-dev-bin
472s + gdbus-codegen --help
472s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
472s [--c-namespace NAMESPACE] [--c-generate-object-manager]
472s [--c-generate-autocleanup {none,objects,all}]
472s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
472s [--generate-rst OUTFILES] [--pragma-once]
472s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
472s [--glib-min-required VERSION]
472s [--glib-max-allowed VERSION]
472s [--symbol-decorator SYMBOL_DECORATOR]
472s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
472s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
472s [--generate-c-code OUTFILES | --header | --body |
472s --interface-info-header | --interface-info-body]
472s [--output FILE | --output-directory OUTDIR]
472s FILE [FILE ...]
472s
472s D-Bus code and documentation generator
472s
472s positional arguments:
472s FILE D-Bus introspection XML file
472s
472s options:
472s -h, --help show this help message and exit
472s --interface-prefix PREFIX
472s String to strip from D-Bus interface names for code
472s and docs
472s --c-namespace NAMESPACE
472s The namespace to use for generated C code
472s --c-generate-object-manager
472s Generate a GDBusObjectManagerClient subclass when
472s generating C code
472s --c-generate-autocleanup {none,objects,all}
472s Generate autocleanup support
472s --generate-docbook OUTFILES
472s Generate Docbook in OUTFILES-org.Project.IFace.xml
472s --generate-md OUTFILES
472s Generate Markdown in OUTFILES-org.Project.IFace.md
472s --generate-rst OUTFILES
472s Generate reStructuredText in OUTFILES-
472s org.Project.IFace.rst
472s --pragma-once Use "pragma once" as the inclusion guard
472s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
472s Add annotation (may be used several times)
472s --glib-min-required VERSION
472s Minimum version of GLib to be supported by the
472s outputted code (default: 2.30)
472s --glib-max-allowed VERSION
472s Maximum version of GLib to be used by the outputted
472s code (default: current GLib version)
472s --symbol-decorator SYMBOL_DECORATOR
472s Macro used to decorate a symbol in the outputted
472s header, possibly to export symbols
472s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
472s Additional header required for decorator specified by
472s --symbol-decorator
472s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
472s Additional define required for decorator specified by
472s --symbol-decorator
472s --generate-c-code OUTFILES
472s Generate C code in OUTFILES.[ch]
472s --header Generate C headers
472s --body Generate C code
472s --interface-info-header
472s Generate GDBusInterfaceInfo C header
472s --interface-info-body
472s Generate GDBusInterfaceInfo C code
472s --output FILE Write output into the specified file
472s --output-directory OUTDIR
472s Location to output generated files
472s + glib-compile-resources --version
472s 2.84.1
472s + glib-genmarshal --version
472s glib-genmarshal version 2.84.1
472s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
472s You may redistribute copies of glib-genmarshal under the terms of
472s the GNU General Public License which can be found in the
472s GLib source package. Sources, examples and contact
472s information are available at http://www.gtk.org
472s + glib-gettextize --version
472s /usr/bin/glib-gettextize (GNU glib) 2.84.1
472s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
472s This is free software; see the source for copying conditions. There is NO
472s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
472s Written by Ulrich Drepper
472s + glib-mkenums --version
472s glib-mkenums version 2.84.1
472s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
472s You may redistribute copies of glib-mkenums under the terms of
472s the GNU General Public License which can be found in the
472s GLib source package. Sources, examples and contact
472s information are available at http://www.gtk.org
472s + gobject-query tree
472s GObject
472s + gtester --version
472s + gtester-report --version
472s gtester version 2.84.1
472s gtester-report (GLib utils) version 2.84.1.
472s + cd /tmp/autopkgtest.lWHyJ6/autopkgtest_tmp
472s + dpkg-architecture -qDEB_HOST_MULTIARCH
472s + DEB_HOST_MULTIARCH=s390x-linux-gnu
472s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
472s + gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir
472s typelib: GLib-2.0
472s + gi-decompile-typelib -o GLib.gir GLib.typelib
472s autopkgtest [18:44:57]: test libglib2.0-dev: -----------------------]
473s libglib2.0-dev PASS (superficial)
473s autopkgtest [18:44:58]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - -
473s autopkgtest [18:44:58]: test installed-tests: preparing testbed
547s autopkgtest [18:46:12]: testbed dpkg architecture: s390x
547s autopkgtest [18:46:12]: testbed apt version: 3.0.0
548s autopkgtest [18:46:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup
548s autopkgtest [18:46:13]: testbed release detected to be: plucky
549s autopkgtest [18:46:14]: updating testbed package index (apt update)
549s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB]
549s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
549s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
549s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
549s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B]
549s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [5792 B]
549s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [288 B]
549s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B]
549s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [12.1 kB]
549s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [7952 B]
549s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [172 B]
551s Fetched 297 kB in 0s (654 kB/s)
551s Reading package lists...
551s autopkgtest [18:46:16]: upgrading testbed (apt dist-upgrade and autopurge)
552s Reading package lists...
552s Building dependency tree...
552s Reading state information...
552s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
552s Starting 2 pkgProblemResolver with broken count: 0
552s Done
552s Entering ResolveByKeep
552s
552s Calculating upgrade...
552s The following packages will be upgraded:
552s tzdata
552s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
552s Need to get 198 kB of archives.
552s After this operation, 0 B of additional disk space will be used.
552s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tzdata all 2025b-1ubuntu1.1 [198 kB]
553s Preconfiguring packages ...
553s Fetched 198 kB in 0s (0 B/s)
553s (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 ... 59826 files and directories currently installed.)
553s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ...
553s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ...
553s Setting up tzdata (2025b-1ubuntu1.1) ...
553s
553s Current default time zone: 'Etc/UTC'
553s Local time is now: Tue May 6 18:48:01 UTC 2025.
553s Universal Time is now: Tue May 6 18:48:01 UTC 2025.
553s Run 'dpkg-reconfigure tzdata' if you wish to change it.
553s
553s Reading package lists...
553s Building dependency tree...
553s Reading state information...
554s Starting pkgProblemResolver with broken count: 0
554s Starting 2 pkgProblemResolver with broken count: 0
554s Done
554s Solving dependencies...
554s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
558s Reading package lists...
559s Building dependency tree...
559s Reading state information...
560s Starting pkgProblemResolver with broken count: 0
560s Starting 2 pkgProblemResolver with broken count: 0
560s Done
561s The following NEW packages will be installed:
561s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools
561s gnome-desktop-testing libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin
561s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin
561s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6
561s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7
561s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0
561s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2
561s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium
561s native-architecture python3-dbusmock tzdata-legacy x11-common x11-xkb-utils
561s xserver-common xvfb
561s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded.
561s Need to get 15.2 MB of archives.
561s After this operation, 73.5 MB of additional disk space will be used.
561s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x dbus-x11 s390x 1.16.2-2ubuntu1 [23.8 kB]
561s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x desktop-file-utils s390x 0.28-1 [53.9 kB]
561s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.84.1-1 [862 kB]
561s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.6 [2140 B]
561s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.84.1-1 [75.5 kB]
561s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.84.1-1 [115 kB]
561s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x gnome-desktop-testing s390x 2021.1-4 [16.6 kB]
561s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libfontenc1 s390x 1:1.1.8-1build1 [14.8 kB]
561s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB]
561s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libwayland-server0 s390x 1.23.1-3 [37.3 kB]
561s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libx11-xcb1 s390x 2:1.8.10-2 [7954 B]
561s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri3-0 s390x 1.17.0-2 [7616 B]
561s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-present0 s390x 1.17.0-2 [6244 B]
561s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-randr0 s390x 1.17.0-2 [19.2 kB]
561s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-sync1 s390x 1.17.0-2 [9488 B]
561s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-xfixes0 s390x 1.17.0-2 [10.5 kB]
561s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libxshmfence1 s390x 1.3-1build5 [4772 B]
561s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x mesa-libgallium s390x 25.0.3-1ubuntu2 [8057 kB]
562s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libgbm1 s390x 25.0.3-1ubuntu2 [34.5 kB]
562s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.84.1-1 [129 kB]
562s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libvulkan1 s390x 1.4.304.0-1 [147 kB]
562s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1-mesa-dri s390x 25.0.3-1ubuntu2 [35.5 kB]
562s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.84.1-1 [99.7 kB]
562s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.84.1-1 [18.1 kB]
562s Get:25 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-dbusmock all 0.34.3-1 [92.4 kB]
562s Get:26 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tzdata-legacy all 2025b-1ubuntu1.1 [99.2 kB]
562s Get:27 http://ftpmaster.internal/ubuntu plucky/universe s390x libglib2.0-tests s390x 2.84.1-1 [2213 kB]
562s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-glx0 s390x 1.17.0-2 [26.0 kB]
562s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B]
562s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libxxf86vm1 s390x 1:1.1.4-1build4 [9630 B]
562s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libglx-mesa0 s390x 25.0.3-1ubuntu2 [161 kB]
562s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu4 [21.8 kB]
562s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB]
562s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB]
562s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB]
562s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB]
562s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB]
562s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB]
562s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB]
562s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libxfont2 s390x 1:2.0.6-1build1 [101 kB]
562s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x libxkbfile1 s390x 1:1.1.0-1build4 [76.5 kB]
562s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB]
562s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libxrandr2 s390x 2:1.5.4-1 [20.8 kB]
562s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x x11-xkb-utils s390x 7.7+9 [169 kB]
562s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB]
562s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libglvnd0 s390x 1.7.0-1build1 [110 kB]
562s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x libglx0 s390x 1.7.0-1build1 [32.2 kB]
562s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1 s390x 1.7.0-1build1 [142 kB]
562s Get:49 http://ftpmaster.internal/ubuntu plucky/universe s390x xvfb s390x 2:21.1.16-1ubuntu1 [942 kB]
562s Fetched 15.2 MB in 1s (14.5 MB/s)
562s Selecting previously unselected package dbus-x11.
562s (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 ... 59826 files and directories currently installed.)
562s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_s390x.deb ...
562s Unpacking dbus-x11 (1.16.2-2ubuntu1) ...
563s Selecting previously unselected package desktop-file-utils.
563s Preparing to unpack .../01-desktop-file-utils_0.28-1_s390x.deb ...
563s Unpacking desktop-file-utils (0.28-1) ...
563s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x.
563s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.84.1-1_s390x.deb ...
563s Unpacking gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
563s Selecting previously unselected package native-architecture.
563s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ...
563s Unpacking native-architecture (0.2.6) ...
563s Selecting previously unselected package libgirepository-2.0-0:s390x.
563s Preparing to unpack .../04-libgirepository-2.0-0_2.84.1-1_s390x.deb ...
563s Unpacking libgirepository-2.0-0:s390x (2.84.1-1) ...
563s Selecting previously unselected package girepository-tools:s390x.
563s Preparing to unpack .../05-girepository-tools_2.84.1-1_s390x.deb ...
563s Unpacking girepository-tools:s390x (2.84.1-1) ...
563s Selecting previously unselected package gnome-desktop-testing.
563s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_s390x.deb ...
563s Unpacking gnome-desktop-testing (2021.1-4) ...
563s Selecting previously unselected package libfontenc1:s390x.
563s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_s390x.deb ...
563s Unpacking libfontenc1:s390x (1:1.1.8-1build1) ...
563s Selecting previously unselected package libfreetype6:s390x.
563s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1_s390x.deb ...
563s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ...
563s Selecting previously unselected package libwayland-server0:s390x.
563s Preparing to unpack .../09-libwayland-server0_1.23.1-3_s390x.deb ...
563s Unpacking libwayland-server0:s390x (1.23.1-3) ...
563s Selecting previously unselected package libx11-xcb1:s390x.
563s Preparing to unpack .../10-libx11-xcb1_2%3a1.8.10-2_s390x.deb ...
563s Unpacking libx11-xcb1:s390x (2:1.8.10-2) ...
563s Selecting previously unselected package libxcb-dri3-0:s390x.
563s Preparing to unpack .../11-libxcb-dri3-0_1.17.0-2_s390x.deb ...
563s Unpacking libxcb-dri3-0:s390x (1.17.0-2) ...
563s Selecting previously unselected package libxcb-present0:s390x.
563s Preparing to unpack .../12-libxcb-present0_1.17.0-2_s390x.deb ...
563s Unpacking libxcb-present0:s390x (1.17.0-2) ...
563s Selecting previously unselected package libxcb-randr0:s390x.
563s Preparing to unpack .../13-libxcb-randr0_1.17.0-2_s390x.deb ...
563s Unpacking libxcb-randr0:s390x (1.17.0-2) ...
563s Selecting previously unselected package libxcb-sync1:s390x.
563s Preparing to unpack .../14-libxcb-sync1_1.17.0-2_s390x.deb ...
563s Unpacking libxcb-sync1:s390x (1.17.0-2) ...
563s Selecting previously unselected package libxcb-xfixes0:s390x.
563s Preparing to unpack .../15-libxcb-xfixes0_1.17.0-2_s390x.deb ...
563s Unpacking libxcb-xfixes0:s390x (1.17.0-2) ...
563s Selecting previously unselected package libxshmfence1:s390x.
563s Preparing to unpack .../16-libxshmfence1_1.3-1build5_s390x.deb ...
563s Unpacking libxshmfence1:s390x (1.3-1build5) ...
563s Selecting previously unselected package mesa-libgallium:s390x.
563s Preparing to unpack .../17-mesa-libgallium_25.0.3-1ubuntu2_s390x.deb ...
563s Unpacking mesa-libgallium:s390x (25.0.3-1ubuntu2) ...
565s Selecting previously unselected package libgbm1:s390x.
565s Preparing to unpack .../18-libgbm1_25.0.3-1ubuntu2_s390x.deb ...
565s Unpacking libgbm1:s390x (25.0.3-1ubuntu2) ...
566s Selecting previously unselected package libgio-2.0-dev-bin.
566s Preparing to unpack .../19-libgio-2.0-dev-bin_2.84.1-1_s390x.deb ...
566s Unpacking libgio-2.0-dev-bin (2.84.1-1) ...
566s Selecting previously unselected package libvulkan1:s390x.
566s Preparing to unpack .../20-libvulkan1_1.4.304.0-1_s390x.deb ...
566s Unpacking libvulkan1:s390x (1.4.304.0-1) ...
566s Selecting previously unselected package libgl1-mesa-dri:s390x.
566s Preparing to unpack .../21-libgl1-mesa-dri_25.0.3-1ubuntu2_s390x.deb ...
566s Unpacking libgl1-mesa-dri:s390x (25.0.3-1ubuntu2) ...
566s Selecting previously unselected package libglib2.0-bin.
566s Preparing to unpack .../22-libglib2.0-bin_2.84.1-1_s390x.deb ...
566s Unpacking libglib2.0-bin (2.84.1-1) ...
566s Selecting previously unselected package libglib2.0-dev-bin.
566s Preparing to unpack .../23-libglib2.0-dev-bin_2.84.1-1_s390x.deb ...
566s Unpacking libglib2.0-dev-bin (2.84.1-1) ...
566s Selecting previously unselected package python3-dbusmock.
566s Preparing to unpack .../24-python3-dbusmock_0.34.3-1_all.deb ...
566s Unpacking python3-dbusmock (0.34.3-1) ...
566s Selecting previously unselected package tzdata-legacy.
566s Preparing to unpack .../25-tzdata-legacy_2025b-1ubuntu1.1_all.deb ...
566s Unpacking tzdata-legacy (2025b-1ubuntu1.1) ...
566s Selecting previously unselected package libglib2.0-tests.
566s Preparing to unpack .../26-libglib2.0-tests_2.84.1-1_s390x.deb ...
566s Unpacking libglib2.0-tests (2.84.1-1) ...
569s Selecting previously unselected package libxcb-glx0:s390x.
569s Preparing to unpack .../27-libxcb-glx0_1.17.0-2_s390x.deb ...
569s Unpacking libxcb-glx0:s390x (1.17.0-2) ...
569s Selecting previously unselected package libxcb-shm0:s390x.
569s Preparing to unpack .../28-libxcb-shm0_1.17.0-2_s390x.deb ...
569s Unpacking libxcb-shm0:s390x (1.17.0-2) ...
569s Selecting previously unselected package libxxf86vm1:s390x.
569s Preparing to unpack .../29-libxxf86vm1_1%3a1.1.4-1build4_s390x.deb ...
569s Unpacking libxxf86vm1:s390x (1:1.1.4-1build4) ...
569s Selecting previously unselected package libglx-mesa0:s390x.
569s Preparing to unpack .../30-libglx-mesa0_25.0.3-1ubuntu2_s390x.deb ...
569s Unpacking libglx-mesa0:s390x (25.0.3-1ubuntu2) ...
569s Selecting previously unselected package x11-common.
569s Preparing to unpack .../31-x11-common_1%3a7.7+23ubuntu4_all.deb ...
569s Unpacking x11-common (1:7.7+23ubuntu4) ...
569s Selecting previously unselected package libice6:s390x.
569s Preparing to unpack .../32-libice6_2%3a1.1.1-1_s390x.deb ...
569s Unpacking libice6:s390x (2:1.1.1-1) ...
569s Selecting previously unselected package libpixman-1-0:s390x.
569s Preparing to unpack .../33-libpixman-1-0_0.44.0-3_s390x.deb ...
569s Unpacking libpixman-1-0:s390x (0.44.0-3) ...
569s Selecting previously unselected package libsm6:s390x.
569s Preparing to unpack .../34-libsm6_2%3a1.2.4-1_s390x.deb ...
569s Unpacking libsm6:s390x (2:1.2.4-1) ...
569s Selecting previously unselected package libxt6t64:s390x.
569s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ...
569s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ...
569s Selecting previously unselected package libxmu6:s390x.
569s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3build2_s390x.deb ...
569s Unpacking libxmu6:s390x (2:1.1.3-3build2) ...
569s Selecting previously unselected package libxpm4:s390x.
569s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build2_s390x.deb ...
569s Unpacking libxpm4:s390x (1:3.5.17-1build2) ...
569s Selecting previously unselected package libxaw7:s390x.
569s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1_s390x.deb ...
569s Unpacking libxaw7:s390x (2:1.0.16-1) ...
569s Selecting previously unselected package libxfont2:s390x.
569s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1build1_s390x.deb ...
569s Unpacking libxfont2:s390x (1:2.0.6-1build1) ...
569s Selecting previously unselected package libxkbfile1:s390x.
569s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build4_s390x.deb ...
569s Unpacking libxkbfile1:s390x (1:1.1.0-1build4) ...
569s Selecting previously unselected package libxrender1:s390x.
569s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ...
569s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ...
569s Selecting previously unselected package libxrandr2:s390x.
569s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1_s390x.deb ...
569s Unpacking libxrandr2:s390x (2:1.5.4-1) ...
569s Selecting previously unselected package x11-xkb-utils.
569s Preparing to unpack .../43-x11-xkb-utils_7.7+9_s390x.deb ...
569s Unpacking x11-xkb-utils (7.7+9) ...
569s Selecting previously unselected package xserver-common.
569s Preparing to unpack .../44-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ...
569s Unpacking xserver-common (2:21.1.16-1ubuntu1) ...
569s Selecting previously unselected package libglvnd0:s390x.
569s Preparing to unpack .../45-libglvnd0_1.7.0-1build1_s390x.deb ...
569s Unpacking libglvnd0:s390x (1.7.0-1build1) ...
569s Selecting previously unselected package libglx0:s390x.
569s Preparing to unpack .../46-libglx0_1.7.0-1build1_s390x.deb ...
569s Unpacking libglx0:s390x (1.7.0-1build1) ...
569s Selecting previously unselected package libgl1:s390x.
569s Preparing to unpack .../47-libgl1_1.7.0-1build1_s390x.deb ...
569s Unpacking libgl1:s390x (1.7.0-1build1) ...
569s Selecting previously unselected package xvfb.
569s Preparing to unpack .../48-xvfb_2%3a21.1.16-1ubuntu1_s390x.deb ...
569s Unpacking xvfb (2:21.1.16-1ubuntu1) ...
569s Setting up gnome-desktop-testing (2021.1-4) ...
569s Setting up libxcb-dri3-0:s390x (1.17.0-2) ...
569s Setting up libpixman-1-0:s390x (0.44.0-3) ...
569s Setting up libwayland-server0:s390x (1.23.1-3) ...
569s Setting up libx11-xcb1:s390x (2:1.8.10-2) ...
569s Setting up libgio-2.0-dev-bin (2.84.1-1) ...
570s Setting up native-architecture (0.2.6) ...
570s Setting up libxcb-xfixes0:s390x (1.17.0-2) ...
570s Setting up desktop-file-utils (0.28-1) ...
570s Setting up libxpm4:s390x (1:3.5.17-1build2) ...
570s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ...
570s Setting up libgirepository-2.0-0:s390x (2.84.1-1) ...
570s Setting up libglvnd0:s390x (1.7.0-1build1) ...
570s Setting up libxcb-glx0:s390x (1.17.0-2) ...
570s Setting up x11-common (1:7.7+23ubuntu4) ...
570s Setting up libglib2.0-bin (2.84.1-1) ...
570s Setting up libxcb-shm0:s390x (1.17.0-2) ...
570s Setting up python3-dbusmock (0.34.3-1) ...
570s Setting up tzdata-legacy (2025b-1ubuntu1.1) ...
570s Setting up libxxf86vm1:s390x (1:1.1.4-1build4) ...
570s Setting up libxcb-present0:s390x (1.17.0-2) ...
570s Setting up libfontenc1:s390x (1:1.1.8-1build1) ...
570s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ...
570s Setting up libxcb-sync1:s390x (1.17.0-2) ...
570s Setting up libxrandr2:s390x (2:1.5.4-1) ...
570s Setting up libvulkan1:s390x (1.4.304.0-1) ...
570s Setting up gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
570s Setting up libxshmfence1:s390x (1.3-1build5) ...
570s Setting up dbus-x11 (1.16.2-2ubuntu1) ...
570s Setting up libxcb-randr0:s390x (1.17.0-2) ...
570s Setting up libxkbfile1:s390x (1:1.1.0-1build4) ...
570s Setting up libxfont2:s390x (1:2.0.6-1build1) ...
570s Setting up libice6:s390x (2:1.1.1-1) ...
570s Setting up mesa-libgallium:s390x (25.0.3-1ubuntu2) ...
570s Setting up girepository-tools:s390x (2.84.1-1) ...
570s Setting up libgbm1:s390x (25.0.3-1ubuntu2) ...
570s Setting up libgl1-mesa-dri:s390x (25.0.3-1ubuntu2) ...
570s Setting up libsm6:s390x (2:1.2.4-1) ...
570s Setting up libglib2.0-dev-bin (2.84.1-1) ...
570s Setting up libglx-mesa0:s390x (25.0.3-1ubuntu2) ...
570s Setting up libglx0:s390x (1.7.0-1build1) ...
570s Setting up libgl1:s390x (1.7.0-1build1) ...
570s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ...
570s Setting up libglib2.0-tests (2.84.1-1) ...
571s Setting up libxmu6:s390x (2:1.1.3-3build2) ...
571s Setting up libxaw7:s390x (2:1.0.16-1) ...
571s Setting up x11-xkb-utils (7.7+9) ...
571s Setting up xserver-common (2:21.1.16-1ubuntu1) ...
571s Setting up xvfb (2:21.1.16-1ubuntu1) ...
571s Processing triggers for man-db (2.13.0-1) ...
571s Processing triggers for libc-bin (2.41-6ubuntu1) ...
574s autopkgtest [18:46:39]: test installed-tests: [-----------------------
574s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),102(lxd)
574s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
574s group entry: ubuntu:x:1000:
574s Environment:
574s ADTTMP=/tmp/autopkgtest.lWHyJ6/autopkgtest_tmp
574s ADT_ARTIFACTS=/tmp/autopkgtest.lWHyJ6/installed-tests-artifacts
574s ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1
574s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.lWHyJ6/installed-tests-artifacts
574s AUTOPKGTEST_TESTBED_ARCH=s390x
574s AUTOPKGTEST_TEST_ARCH=s390x
574s AUTOPKGTEST_TMP=/tmp/autopkgtest.lWHyJ6/autopkgtest_tmp
574s DEBIAN_FRONTEND=noninteractive
574s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
574s DEB_BUILD_OPTIONS=parallel=2
574s GIO_USE_VFS=local
574s GIO_USE_VOLUME_MONITOR=unix
574s HOME=/home/ubuntu
574s LANG=C.UTF-8
574s LOGNAME=ubuntu
574s MAIL=/var/mail/ubuntu
574s OLDPWD=/home/ubuntu
574s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
574s PWD=/tmp/autopkgtest.lWHyJ6/build.dT7/src
574s SHELL=/bin/bash
574s SHLVL=1
574s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lWHyJ6/wrapper.sh --artifacts=/tmp/autopkgtest.lWHyJ6/installed-tests-artifacts --chdir=/tmp/autopkgtest.lWHyJ6/build.dT7/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.lWHyJ6/installed-tests-stderr --stdout=/tmp/autopkgtest.lWHyJ6/installed-tests-stdout --tmp=/tmp/autopkgtest.lWHyJ6/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1 --make-executable=/tmp/autopkgtest.lWHyJ6/build.dT7/src/debian/tests/installed-tests -- /tmp/autopkgtest.lWHyJ6/build.dT7/src/debian/tests/installed-tests
574s SUDO_GID=1000
574s SUDO_HOME=/home/ubuntu
574s SUDO_UID=1000
574s SUDO_USER=ubuntu
574s TERM=linux
574s USER=ubuntu
574s XDG_RUNTIME_DIR=/tmp/autopkgtest.lWHyJ6/autopkgtest_tmp
574s http_proxy=http://egress.ps7.internal:3128/
574s https_proxy=http://egress.ps7.internal:3128/
574s run-with-locales: de_DE=ISO-8859-1...
574s Character set: ISO-8859-1
574s Source file: de_DE
574s Output: /tmp/tmp.7LVdLnbQyd/de_DE
575s run-with-locales: de_DE.utf8...
575s Character set: UTF-8
575s Source file: de_DE
575s Output: /tmp/tmp.7LVdLnbQyd/de_DE.utf8
576s run-with-locales: de_DE@euro.utf8...
576s Character set: UTF-8
576s Source file: de_DE@euro
576s Output: /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8
577s run-with-locales: el_GR.utf8...
577s Character set: UTF-8
577s Source file: el_GR
577s Output: /tmp/tmp.7LVdLnbQyd/el_GR.utf8
578s run-with-locales: en_GB=ISO-8859-1...
578s Character set: ISO-8859-1
578s Source file: en_GB
578s Output: /tmp/tmp.7LVdLnbQyd/en_GB
578s run-with-locales: en_GB.utf8...
578s Character set: UTF-8
578s Source file: en_GB
578s Output: /tmp/tmp.7LVdLnbQyd/en_GB.utf8
579s run-with-locales: en_US=ISO-8859-1...
579s Character set: ISO-8859-1
579s Source file: en_US
579s Output: /tmp/tmp.7LVdLnbQyd/en_US
579s run-with-locales: en_US.utf8...
579s Character set: UTF-8
579s Source file: en_US
579s Output: /tmp/tmp.7LVdLnbQyd/en_US.utf8
580s run-with-locales: es_ES.utf8...
580s Character set: UTF-8
580s Source file: es_ES
580s Output: /tmp/tmp.7LVdLnbQyd/es_ES.utf8
581s run-with-locales: fa_IR=UTF-8...
581s Character set: UTF-8
581s Source file: fa_IR
581s Output: /tmp/tmp.7LVdLnbQyd/fa_IR
583s run-with-locales: fa_IR.utf8...
583s Character set: UTF-8
583s Source file: fa_IR
583s Output: /tmp/tmp.7LVdLnbQyd/fa_IR.utf8
583s run-with-locales: fr_FR.utf8...
583s Character set: UTF-8
583s Source file: fr_FR
583s Output: /tmp/tmp.7LVdLnbQyd/fr_FR.utf8
584s run-with-locales: hr_HR.utf8...
584s Character set: UTF-8
584s Source file: hr_HR
584s Output: /tmp/tmp.7LVdLnbQyd/hr_HR.utf8
585s run-with-locales: ja_JP.utf8...
585s Character set: UTF-8
585s Source file: ja_JP
585s Output: /tmp/tmp.7LVdLnbQyd/ja_JP.utf8
586s run-with-locales: ja_JP.EUC-JP...
586s Character set: EUC-JP
586s Source file: ja_JP
586s Output: /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp
586s run-with-locales: lt_LT.utf8...
586s Character set: UTF-8
586s Source file: lt_LT
586s Output: /tmp/tmp.7LVdLnbQyd/lt_LT.utf8
588s run-with-locales: pl_PL=ISO-8859-2...
588s Character set: ISO-8859-2
588s Source file: pl_PL
588s Output: /tmp/tmp.7LVdLnbQyd/pl_PL
588s run-with-locales: pl_PL.ISO-8859-2...
588s Character set: ISO-8859-2
588s Source file: pl_PL
588s Output: /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592
588s run-with-locales: pl_PL.utf8...
588s Character set: UTF-8
588s Source file: pl_PL
588s Output: /tmp/tmp.7LVdLnbQyd/pl_PL.utf8
589s run-with-locales: ru_RU=ISO-8859-5...
589s Character set: ISO-8859-5
589s Source file: ru_RU
589s Output: /tmp/tmp.7LVdLnbQyd/ru_RU
590s run-with-locales: ru_RU.utf8...
590s Character set: UTF-8
590s Source file: ru_RU
590s Output: /tmp/tmp.7LVdLnbQyd/ru_RU.utf8
591s run-with-locales: sr_RS=UTF-8...
591s Character set: UTF-8
591s Source file: sr_RS
591s Output: /tmp/tmp.7LVdLnbQyd/sr_RS
592s run-with-locales: sr_RS@latin=UTF-8...
592s Character set: UTF-8
592s Source file: sr_RS@latin
592s Output: /tmp/tmp.7LVdLnbQyd/sr_RS@latin
593s run-with-locales: sv_SE=ISO-8859-1...
593s Character set: ISO-8859-1
593s Source file: sv_SE
593s Output: /tmp/tmp.7LVdLnbQyd/sv_SE
593s run-with-locales: sv_SE.utf8...
593s Character set: UTF-8
593s Source file: sv_SE
593s Output: /tmp/tmp.7LVdLnbQyd/sv_SE.utf8
594s run-with-locales: tr_TR=ISO-8859-9...
594s Character set: ISO-8859-9
594s Source file: tr_TR
594s Output: /tmp/tmp.7LVdLnbQyd/tr_TR
594s run-with-locales: tr_TR.utf8...
594s Character set: UTF-8
594s Source file: tr_TR
594s Output: /tmp/tmp.7LVdLnbQyd/tr_TR.utf8
596s run-with-locales: tt_RU=UTF-8...
596s Character set: UTF-8
596s Source file: tt_RU
596s Output: /tmp/tmp.7LVdLnbQyd/tt_RU
597s run-with-locales: tt_RU.utf8...
597s Character set: UTF-8
597s Source file: tt_RU
597s Output: /tmp/tmp.7LVdLnbQyd/tt_RU.utf8
598s run-with-locales: tt_RU@iqtelif=UTF-8...
598s Character set: UTF-8
598s Source file: tt_RU@iqtelif
598s Output: /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif
603s /tmp/tmp.7LVdLnbQyd
603s /tmp/tmp.7LVdLnbQyd/fa_IR
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/fa_IR/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/en_GB.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/sr_RS@latin/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/en_US
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/en_US/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/de_DE.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/tr_TR
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/tr_TR/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/ja_JP.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_NUMERIC
603s /tmp/t1..323
603s # Running test: glib/gi-compile-repository.py.test
603s mp.7LVdLnbQyd/tr_TR.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/tr_TR.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/lt_LT.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/fr_FR.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/fa_IR.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/ru_RU
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/ru_RU/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/en_GB
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/en_GB/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/en_US.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/tt_RU
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/tt_RU/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/tt_RU.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/es_ES.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/sr_RS
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/sr_RS/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/de_DE@euro.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/ja_JP.eucjp/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/pl_PL.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/de_DE
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/de_DE/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/pl_PL.iso88592/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/tt_RU@iqtelif/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/el_GR.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/hr_HR.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/pl_PL
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/pl_PL/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/sv_SE.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/ru_RU.utf8/LC_IDENTIFICATION
603s /tmp/tmp.7LVdLnbQyd/sv_SE
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_NUMERIC
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_MEASUREMENT
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_MONETARY
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_TIME
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_ADDRESS
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_COLLATE
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_PAPER
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_CTYPE
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_TELEPHONE
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_NAME
603s /tmp/tmp.7LVdLnbQyd/sv_SE/LC_IDENTIFICATION
603s TAP version 13
603s ok 1 __main__.TestGICompileRepository.test_open_failure
603s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
603s # gi-compile-repository: /usr/bin/gi-compile-repository
603s # tmpdir: /tmp/tmpcurv2839
603s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpcurv2839/invalid.typelib']
603s # Return code: 1
603s # Output:
603s #
603s # Error:
603s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory
604s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile
604s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
604s # gi-compile-repository: /usr/bin/gi-compile-repository
604s # tmpdir: /tmp/tmpubw5_9z3
604s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpubw5_9z3/GLib-2.typelib']
604s # Return code: 0
604s # Output:
604s #
604s # Error:
604s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure
604s # gi-compile-repository: /usr/bin/gi-compile-repository
604s # tmpdir: /tmp/tmpqr80kc21
604s # 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']
604s # Return code: 1
604s # Output:
604s #
604s # Error:
604s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
605s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
605s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
605s # gi-compile-repository: /usr/bin/gi-compile-repository
605s # tmpdir: /tmp/tmp50afg9w8
605s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp50afg9w8/GObject-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
605s # Return code: 0
605s # Output:
605s #
605s # Error:
605s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure
605s # gi-compile-repository: /usr/bin/gi-compile-repository
605s # tmpdir: /tmp/tmpm6yo_ikv
605s # 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']
605s # Return code: 1
605s # Output:
605s #
605s # Error:
605s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
607s ok 6 __main__.TestGICompileRepositoryForGio.test_compile
607s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
607s # gi-compile-repository: /usr/bin/gi-compile-repository
607s # tmpdir: /tmp/tmpid3pnd9_
607s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpid3pnd9_/Gio-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
607s # Return code: 0
607s # Output:
607s #
607s # Error:
608s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure
608s ok - glib/gi-compile-repository.py.test
608s # gi-compile-repository: /usr/bin/gi-compile-repository
608s # tmpdir: /tmp/tmp6n9ubouo
608s # 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']
608s # Return code: 1
608s # Output:
608s #
608s # Error:
608s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
608s 1..7
608s # Running test: glib/gdbus-close-pending.test
608s TAP version 14
608s # random seed: R02S18eecfcfff008f50dc86f8f12155ea48
608s 1..2
608s # Start of gdbus tests
608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/home
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/cache
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/system-config2
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/config
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/system-data2
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/data
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/state
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_V82Y52/gdbus/close-pending/.dirs/runtime
608s ok 1 /gdbus/close-pending
608s # slow test /gdbus/close-pending executed in 0.56 secs
608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/home
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/cache
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/system-config2
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/config
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/system-data2
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/data
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/state
608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_V82Y52/gdbus/unref-pending/.dirs/runtime
609s # Executing: glib/gdbus-close-pending.test
609s ok 2 /gdbus/unref-pending
609s # End of gdbus tests
609s ok - glib/gdbus-close-pending.test
609s # Running test: glib/unix.test
609s TAP version 14
609s # random seed: R02S23ffcb393374f97589f858e1a12379e9
609s 1..20
609s # Start of glib-unix tests
609s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec()
609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247
609s ok 1 /glib-unix/closefrom
609s ok 2 /glib-unix/pipe
609s # /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
609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795
609s ok 3 /glib-unix/pipe-stdio-overwrite
609s # /glib-unix/pipe-struct summary: Test GUnixPipe structure
609s ok 4 /glib-unix/pipe-struct
609s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe)
609s ok 5 /glib-unix/pipe-struct-auto
609s ok 6 /glib-unix/error
609s ok 7 /glib-unix/nonblocking
609s ok 8 /glib-unix/sighup
609s # slow test /glib-unix/sighup executed in 0.50 secs
610s ok 9 /glib-unix/sigterm
610s # slow test /glib-unix/sigterm executed in 0.50 secs
610s ok 10 /glib-unix/sighup_again
610s # slow test /glib-unix/sighup_again executed in 0.50 secs
610s ok 11 /glib-unix/sighup_add_remove
610s ok 12 /glib-unix/sighup_nested
612s ok 13 /glib-unix/callback_after_signal
612s # slow test /glib-unix/callback_after_signal executed in 2.00 secs
612s ok 14 /glib-unix/child-wait
612s # Start of closefrom tests
612s # Start of subprocess tests
612s # End of subprocess tests
612s # End of closefrom tests
612s # Start of pipe tests
612s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe()
612s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459
612s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
612s ok 15 /glib-unix/pipe/fd-cloexec
612s # End of pipe tests
612s # Start of sighup tests
613s ok 16 /glib-unix/sighup/alternate-stack
613s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs
613s # End of sighup tests
613s # Start of sigterm tests
614s # Executing: glib/unix.test
614s ok 17 /glib-unix/sigterm/alternate-stack
614s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs
614s # End of sigterm tests
614s # Start of sighup_again tests
615s ok 18 /glib-unix/sighup_again/alternate-stack
615s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs
615s # End of sighup_again tests
615s # Start of get-passwd-entry tests
615s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username.
615s ok 19 /glib-unix/get-passwd-entry/root
615s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username.
615s ok 20 /glib-unix/get-passwd-entry/nonexistent
615s # End of get-passwd-entry tests
615s # End of glib-unix tests
615s ok - glib/unix.test
615s # Running test: glib/gutils-user-database.test
615s TAP version 14
615s ok - glib/gutils-user-database.test
615s # Running test: glib/sequence.test
615s # random seed: R02Sb96846fa17fc2538826c65464b814352
615s 1..1
615s # Start of gutils tests
615s ok 1 /gutils/get_user_database_entry
615s # End of gutils tests
615s TAP version 14
615s # random seed: R02Sca406e6fd530119ca7484cd000259429
615s 1..16
615s # Start of sequence tests
615s ok 1 /sequence/out-of-range-jump
615s ok 2 /sequence/iter-move
615s ok 3 /sequence/insert-sorted-non-pointer
615s ok 4 /sequence/stable-sort
615s ok 5 /sequence/is_empty
615s # Start of random tests
616s ok 6 /sequence/random/seed:825541564
616s # slow test /sequence/random/seed:825541564 executed in 0.81 secs
617s ok 7 /sequence/random/seed:801678400
617s # slow test /sequence/random/seed:801678400 executed in 0.85 secs
618s ok 8 /sequence/random/seed:1477639090
618s # slow test /sequence/random/seed:1477639090 executed in 1.02 secs
619s # Executing: glib/sequence.test
619s ok 9 /sequence/random/seed:3369132895
619s # slow test /sequence/random/seed:3369132895 executed in 0.75 secs
620s ok 10 /sequence/random/seed:1192944867
620s # slow test /sequence/random/seed:1192944867 executed in 0.79 secs
621s ok 11 /sequence/random/seed:770458294
621s # slow test /sequence/random/seed:770458294 executed in 1.17 secs
622s ok 12 /sequence/random/seed:1099575817
622s # slow test /sequence/random/seed:1099575817 executed in 0.84 secs
622s ok 13 /sequence/random/seed:590523467
622s # slow test /sequence/random/seed:590523467 executed in 0.97 secs
623s ok 14 /sequence/random/seed:3583571454
623s # slow test /sequence/random/seed:3583571454 executed in 1.00 secs
624s # Executing: glib/sequence.test
624s ok 15 /sequence/random/seed:579241222
624s # slow test /sequence/random/seed:579241222 executed in 0.83 secs
625s ok 16 /sequence/random/seed:902702644
625s # slow test /sequence/random/seed:902702644 executed in 0.81 secs
625s # End of random tests
625s # End of sequence tests
625s ok - glib/sequence.test
625s # Running test: glib/cache.test
625s TAP version 14
625s # random seed: R02S43b4b64d8247901ceefbd801f4ca9f96
625s 1..1
625s # Start of cache tests
625s ok 1 /cache/basic
625s # End of cache tests
625s ok - glib/cache.test
625s # Running test: glib/type-flags.test
625s TAP version 14
625s # random seed: R02Sb9162e5d39533a525c2e36644d2bad56
625s 1..4
625s # Start of type tests
625s # Start of flags tests
625s ok 1 /type/flags/interface
625s ok - glib/type-flags.test
625s # Running test: glib/type.test
625s ok - glib/type.test
625s # Running test: glib/memory-monitor-dbus.test
625s ok 2 /type/flags/final
625s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning.
625s ok 3 /type/flags/deprecated
625s # Start of final tests
625s ok 4 /type/flags/final/instance-check
625s # End of final tests
625s # End of flags tests
625s # End of type tests
625s TAP version 14
625s # random seed: R02S65eeb8ec850d40bba91004d1924f980a
625s 1..6
625s # Start of type tests
625s ok 1 /type/registration-serial
625s ok 2 /type/interface-prerequisite
625s ok 3 /type/interface-check
625s ok 4 /type/next-base
625s ok 5 /type/is-a
625s # Invalid types can?t be queried.
625s # Unclassed types can?t be queried.
625s ok 6 /type/query
625s # End of type tests
625s TAP version 13
625s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178
625s 1..1
625s ok - glib/memory-monitor-dbus.test
625s # Running test: glib/properties-refcount2.test
625s TAP version 14
625s # random seed: R02S5f899f65e4eaf2f5a60571f2350cb0a7
625s 1..1
625s # Start of gobject tests
625s # Start of refcount tests
625s # init 0x2aa22932e20
625s #
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
625s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s # .
626s ok - glib/properties-refcount2.test
626s # Running test: glib/signals-refcount3.test
626s # .
626s # dispose 0x2aa22932e20!
626s #
626s ok 1 /gobject/refcount/properties-2
626s # slow test /gobject/refcount/properties-2 executed in 0.64 secs
626s # End of refcount tests
626s # End of gobject tests
626s TAP version 14
626s # random seed: R02Sc8f485e93add9a51efdbca21e56964cc
626s 1..1
626s # Start of gobject tests
626s # Start of refcount tests
626s # init 0x2aa2cd0ddc0
626s #
626s # init 0x2aa2cd0a310
626s #
629s # Executing: glib/signals-refcount3.test
631s # dispose 0x2aa2cd0ddc0!
631s #
631s ok - glib/signals-refcount3.test
631s # Running test: glib/singleton.test
631s ok - glib/singleton.test
631s # Running test: glib/win32-appinfo.test
631s ok - glib/win32-appinfo.test
631s # Running test: glib/contexts.test
631s # dispose 0x2aa2cd0a310!
631s #
631s ok 1 /gobject/refcount/signals
631s # slow test /gobject/refcount/signals executed in 5.00 secs
631s # End of refcount tests
631s # End of gobject tests
631s TAP version 14
631s # random seed: R02S944cfaaac25af28b07bc0aad94b5c36a
631s 1..2
631s # Start of gobject tests
631s # Start of singleton tests
631s ok 1 /gobject/singleton/construction
631s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works
631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666
631s ok 2 /gobject/singleton/construct-property
631s # End of singleton tests
631s # End of gobject tests
631s TAP version 14
631s # random seed: R02S97aa88240a3a028b2ff5d4afc2181dfe
631s 1..5
631s # Start of appinfo tests
631s ok 1 /appinfo/utf16-strfuncs
631s ok 2 /appinfo/win32-extract-executable
631s ok 3 /appinfo/win32-rundll32-fixup
631s ok 4 /appinfo/win32-parse-filename
631s ok 5 /appinfo/win32-utf16-conversion-fail
631s # Start of subprocess tests
631s # End of subprocess tests
631s # End of appinfo tests
631s TAP version 14
631s # random seed: R02Sb87932bb1bba8dcd11209f135abb95c2
631s 1..5
631s # Start of gio tests
631s # Start of contexts tests
631s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
631s ok 1 /gio/contexts/thread-independence
631s ok 2 /gio/contexts/context-independence
631s # Start of context-specific tests
631s ok 3 /gio/contexts/context-specific/identity
632s ok - glib/contexts.test
632s # Running test: glib/642026.test
632s ok 4 /gio/contexts/context-specific/emit
632s # slow test /gio/contexts/context-specific/emit executed in 0.67 secs
632s ok 5 /gio/contexts/context-specific/emit-and-unref
632s # End of context-specific tests
632s # End of contexts tests
632s # End of gio tests
632s TAP version 14
632s # random seed: R02S2facc0725beabff10fcd464e3d9c3c30
632s 1..1
632s # Start of glib tests
632s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
632s ok 1 /glib/642026
632s ok - glib/642026.test
632s # End of glib tests
632s # Running test: glib/references.test
632s TAP version 14
632s # random seed: R02Sf703ccdc426847508d60d2c0214becc1
632s 1..1
632s # Start of gobject tests
632s ok 1 /gobject/references
632s ok - glib/references.test
632s # Running test: glib/mount-operation.test
632s ok - glib/mount-operation.test
632s # Running test: glib/mutex.test
632s # End of gobject tests
632s TAP version 14
632s # random seed: R02Se2cb899a9b4a0e12947b07628b26519d
632s 1..2
632s # Start of mount-operation tests
632s ok 1 /mount-operation/construction
632s ok 2 /mount-operation/properties
632s # End of mount-operation tests
632s TAP version 14
632s # random seed: R02S3e5952b275f1d790259de78d97eb1e02
632s 1..17
632s # Start of thread tests
632s ok 1 /thread/mutex1
632s ok 2 /thread/mutex2
632s ok 3 /thread/mutex3
632s ok 4 /thread/mutex4
634s # Executing: glib/mutex.test
635s ok 5 /thread/mutex5
635s # slow test /thread/mutex5 executed in 2.88 secs
635s # Start of mutex tests
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s # /thread/mutex/errno summary: Validates that errno is not touched upon return
635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
635s ok 6 /thread/mutex/errno
635s # Start of perf tests
635s # max perf: inf mips
635s ok 7 /thread/mutex/perf/uncontended
635s # Start of contended tests
635s # max perf: inf mips
635s ok 8 /thread/mutex/perf/contended/1
635s # max perf: inf mips
635s ok 9 /thread/mutex/perf/contended/2
635s # max perf: inf mips
635s ok 10 /thread/mutex/perf/contended/3
635s # max perf: 5.000000 mips
635s ok 11 /thread/mutex/perf/contended/4
635s # max perf: inf mips
635s ok 12 /thread/mutex/perf/contended/5
635s # max perf: 7.000000 mips
635s ok 13 /thread/mutex/perf/contended/6
635s # max perf: inf mips
635s ok 14 /thread/mutex/perf/contended/7
635s # max perf: 9.000000 mips
635s ok 15 /thread/mutex/perf/contended/8
635s ok - glib/mutex.test
635s # Running test: glib/gdbus-proxy-threads.test
635s # max perf: inf mips
635s ok 16 /thread/mutex/perf/contended/9
635s # max perf: inf mips
635s ok 17 /thread/mutex/perf/contended/10
635s # End of contended tests
635s # End of perf tests
635s # End of mutex tests
635s # End of thread tests
635s TAP version 14
635s # random seed: R02Sd9e3529039518187b68e74b43e5a5465
635s 1..1
635s # Start of gdbus tests
635s # Start of proxy tests
635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/home
635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/cache
635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/system-config2
635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/config
635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/system-data2
635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/data
635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/state
635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_TV6V52/gdbus/proxy/vs-threads/.dirs/runtime
635s ok 1 /gdbus/proxy/vs-threads
635s # End of proxy tests
635s # End of gdbus tests
635s cleaning up pid 3709
635s ok - glib/gdbus-proxy-threads.test
635s # Running test: glib/overflow.test
635s TAP version 14
635s # random seed: R02S3c962de42fadaa9c5f5e825a45d7f014
635s 1..6
635s # Start of glib tests
635s # Start of checked-math tests
635s ok 1 /glib/checked-math/guint-add
635s ok 2 /glib/checked-math/guint-mul
635s ok 3 /glib/checked-math/guint64-add
635s ok 4 /glib/checked-math/guint64-mul
635s ok 5 /glib/checked-math/gsize-add
635s ok 6 /glib/checked-math/gsize-mul
635s # End of checked-math tests
635s # End of glib tests
635s ok - glib/overflow.test
635s # Running test: glib/module-test-plugin.test
635s TAP version 14
635s # random seed: R02S9e2b667f80ca8098c46d201f5545dbe0
635s 1..3
635s # Start of module tests
635s ok 1 /module/basics
635s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
635s ok 2 /module/invalid-libtool-archive
635s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
635s ok 3 /module/local-binding
635s # End of module tests
635s ok - glib/module-test-plugin.test
635s # Running test: glib/scannerapi.test
635s TAP version 14
635s # random seed: R02S793cc97f9b8d9e4081799064a5954bad
635s 1..4
635s # Start of scanner tests
635s ok 1 /scanner/warn
635s ok 2 /scanner/error
635s ok 3 /scanner/symbols
635s ok 4 /scanner/tokens
635s # End of scanner tests
635s TAP version 14
635s # random seed: R02S56982694ed8fa226388fa5fa22bed43d
635s 1..15
635s # Start of gmenu tests
635s ok - glib/scannerapi.test
635s # Running test: glib/gmenumodel.test
636s ok 1 /gmenu/equality
636s # slow test /gmenu/equality executed in 0.52 secs
638s ok 2 /gmenu/random
638s # slow test /gmenu/random executed in 2.09 secs
639s ok 3 /gmenu/attributes
639s ok 4 /gmenu/links
639s ok 5 /gmenu/mutable
639s ok 6 /gmenu/convenience
639s ok 7 /gmenu/menuitem
639s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
639s # Executing: glib/gmenumodel.test
639s ok 8 /gmenu/input-validation
639s # slow test /gmenu/input-validation executed in 0.83 secs
639s # Start of dbus tests
642s ok 9 /gmenu/dbus/roundtrip
642s # slow test /gmenu/dbus/roundtrip executed in 3.41 secs
643s ok 10 /gmenu/dbus/subscriptions
644s # Executing: glib/gmenumodel.test
645s ok 11 /gmenu/dbus/threaded
645s # slow test /gmenu/dbus/threaded executed in 2.07 secs
645s # Start of peer tests
646s ok 12 /gmenu/dbus/peer/roundtrip
646s # slow test /gmenu/dbus/peer/roundtrip executed in 1.84 secs
647s ok 13 /gmenu/dbus/peer/subscriptions
647s # End of peer tests
647s # Start of export tests
647s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
647s ok 14 /gmenu/dbus/export/error-handling
647s # End of export tests
647s # End of dbus tests
647s # Start of attributes tests
647s ok 15 /gmenu/attributes/iterate
647s # End of attributes tests
647s ok - glib/gmenumodel.test
647s # Running test: glib/unix-fd.test
647s ok - glib/unix-fd.test
647s # Running test: glib/permission.test
647s ok - glib/permission.test
647s # Running test: glib/rec-mutex.test
647s # End of gmenu tests
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s TAP version 14
647s # random seed: R02S16ed2af1f5b0cda3b9f8279b56ef81fc
647s 1..2
647s # Start of unix-fd tests
647s ok 1 /unix-fd/fd-list
647s ok 2 /unix-fd/scm
647s # End of unix-fd tests
647s TAP version 14
647s # random seed: R02Sfe55ddab66bd26c058b90399873fed39
647s 1..1
647s # Start of permission tests
647s ok 1 /permission/simple
647s # End of permission tests
647s TAP version 14
647s # random seed: R02S66eeeb8badf099b7a247bfe530f589e8
647s 1..29
647s # Start of thread tests
647s ok 1 /thread/rec-mutex1
647s ok 2 /thread/rec-mutex2
647s ok 3 /thread/rec-mutex3
647s ok 4 /thread/rec-mutex4
647s # Start of rec-mutex tests
647s # Start of perf tests
647s # Start of uncontended tests
647s # max perf: 1.000000 mips
647s ok 5 /thread/rec-mutex/perf/uncontended/depth1
647s # max perf: 1.000000 mips
647s ok 6 /thread/rec-mutex/perf/uncontended/depth2
647s # max perf: inf mips
647s ok 7 /thread/rec-mutex/perf/uncontended/depth3
647s # max perf: inf mips
647s ok 8 /thread/rec-mutex/perf/uncontended/depth4
647s # max perf: inf mips
647s ok 9 /thread/rec-mutex/perf/uncontended/depth5
647s # End of uncontended tests
647s # Start of contended1 tests
647s # max perf: inf mips
647s ok 10 /thread/rec-mutex/perf/contended1/depth1
647s # max perf: inf mips
647s ok 11 /thread/rec-mutex/perf/contended1/depth2
647s # max perf: inf mips
647s ok 12 /thread/rec-mutex/perf/contended1/depth3
647s # max perf: inf mips
647s ok 13 /thread/rec-mutex/perf/contended1/depth4
647s # max perf: 2.000000 mips
647s ok 14 /thread/rec-mutex/perf/contended1/depth5
647s # End of contended1 tests
647s # Start of contended2 tests
647s # max perf: inf mips
647s ok 15 /thread/rec-mutex/perf/contended2/depth1
647s # max perf: 3.000000 mips
647s ok 16 /thread/rec-mutex/perf/contended2/depth2
647s # max perf: inf mips
647s ok 17 /thread/rec-mutex/perf/contended2/depth3
647s # max perf: inf mips
647s ok 18 /thread/rec-mutex/perf/contended2/depth4
647s # max perf: inf mips
647s ok 19 /thread/rec-mutex/perf/contended2/depth5
647s # End of contended2 tests
647s # Start of contended3 tests
647s # max perf: 4.000000 mips
647s ok 20 /thread/rec-mutex/perf/contended3/depth1
647s # max perf: 4.000000 mips
647s ok 21 /thread/rec-mutex/perf/contended3/depth2
647s # max perf: 4.000000 mips
647s ok 22 /thread/rec-mutex/perf/contended3/depth3
647s # max perf: 4.000000 mips
647s ok 23 /thread/rec-mutex/perf/contended3/depth4
647s # max perf: inf mips
647s ok 24 /thread/rec-mutex/perf/contended3/depth5
647s # End of contended3 tests
647s # Start of contended4 tests
647s # max perf: inf mips
647s ok 25 /thread/rec-mutex/perf/contended4/depth1
647s # max perf: 5.000000 mips
647s ok 26 /thread/rec-mutex/perf/contended4/depth2
647s # max perf: 5.000000 mips
647s ok 27 /thread/rec-mutex/perf/contended4/depth3
647s # max perf: 5.000000 mips
647s ok 28 /thread/rec-mutex/perf/contended4/depth4
647s # max perf: 5.000000 mips
647s ok 29 /thread/rec-mutex/perf/contended4/depth5
647s # End of contended4 tests
647s # End of perf tests
647s # End of rec-mutex tests
647s # End of thread tests
647s ok - glib/rec-mutex.test
647s # Running test: glib/pattern.test
647s ok - glib/pattern.test
647s # Running test: glib/giomodule.test
647s TAP version 14
647s # random seed: R02S44ebbcfa09e0b141291bea904a929a2a
647s 1..90
647s # Start of pattern tests
647s # Start of compile tests
647s ok 1 /pattern/compile/0
647s ok 2 /pattern/compile/1
647s ok 3 /pattern/compile/2
647s ok 4 /pattern/compile/3
647s ok 5 /pattern/compile/4
647s ok 6 /pattern/compile/5
647s ok 7 /pattern/compile/6
647s ok 8 /pattern/compile/7
647s ok 9 /pattern/compile/8
647s ok 10 /pattern/compile/9
647s ok 11 /pattern/compile/10
647s ok 12 /pattern/compile/11
647s ok 13 /pattern/compile/12
647s ok 14 /pattern/compile/13
647s # End of compile tests
647s # Start of copy tests
647s ok 15 /pattern/copy/0
647s ok 16 /pattern/copy/1
647s ok 17 /pattern/copy/2
647s ok 18 /pattern/copy/3
647s ok 19 /pattern/copy/4
647s ok 20 /pattern/copy/5
647s ok 21 /pattern/copy/6
647s ok 22 /pattern/copy/7
647s ok 23 /pattern/copy/8
647s ok 24 /pattern/copy/9
647s ok 25 /pattern/copy/10
647s ok 26 /pattern/copy/11
647s ok 27 /pattern/copy/12
647s ok 28 /pattern/copy/13
647s # End of copy tests
647s # Start of match tests
647s ok 29 /pattern/match/0
647s ok 30 /pattern/match/1
647s ok 31 /pattern/match/2
647s ok 32 /pattern/match/3
647s ok 33 /pattern/match/4
647s ok 34 /pattern/match/5
647s ok 35 /pattern/match/6
647s ok 36 /pattern/match/7
647s ok 37 /pattern/match/8
647s ok 38 /pattern/match/9
647s ok 39 /pattern/match/10
647s ok 40 /pattern/match/11
647s ok 41 /pattern/match/12
647s ok 42 /pattern/match/13
647s ok 43 /pattern/match/14
647s ok 44 /pattern/match/15
647s ok 45 /pattern/match/16
647s ok 46 /pattern/match/17
647s ok 47 /pattern/match/18
647s ok 48 /pattern/match/19
647s ok 49 /pattern/match/20
647s ok 50 /pattern/match/21
647s ok 51 /pattern/match/22
647s ok 52 /pattern/match/23
647s ok 53 /pattern/match/24
647s ok 54 /pattern/match/25
647s ok 55 /pattern/match/26
647s ok 56 /pattern/match/27
647s ok 57 /pattern/match/28
647s ok 58 /pattern/match/29
647s ok 59 /pattern/match/30
647s ok 60 /pattern/match/31
647s ok 61 /pattern/match/32
647s ok 62 /pattern/match/33
647s ok 63 /pattern/match/34
647s ok 64 /pattern/match/35
647s ok 65 /pattern/match/36
647s ok 66 /pattern/match/37
647s ok 67 /pattern/match/38
647s ok 68 /pattern/match/39
647s ok 69 /pattern/match/40
647s ok 70 /pattern/match/41
647s ok 71 /pattern/match/42
647s ok 72 /pattern/match/43
647s ok 73 /pattern/match/44
647s ok 74 /pattern/match/45
647s ok 75 /pattern/match/46
647s ok 76 /pattern/match/47
647s ok 77 /pattern/match/48
647s ok 78 /pattern/match/49
647s ok 79 /pattern/match/50
647s # End of match tests
647s # Start of equal tests
647s ok 80 /pattern/equal/0
647s ok 81 /pattern/equal/1
647s ok 82 /pattern/equal/2
647s ok 83 /pattern/equal/3
647s ok 84 /pattern/equal/4
647s ok 85 /pattern/equal/5
647s ok 86 /pattern/equal/6
647s ok 87 /pattern/equal/7
647s ok 88 /pattern/equal/8
647s ok 89 /pattern/equal/9
647s ok 90 /pattern/equal/10
647s # End of equal tests
647s # End of pattern tests
647s TAP version 14
647s # random seed: R02S2f08f24522e6fa193b656f00d7959101
647s 1..3
647s # Start of giomodule tests
647s ok 1 /giomodule/extension-point
647s ok - glib/giomodule.test
647s # Running test: glib/converter.test
647s ok - glib/converter.test
647s # Running test: glib/dataset.test
647s ok - glib/dataset.test
647s # Running test: glib/stream-rw_all.test
647s ok - glib/stream-rw_all.test
647s # Running test: glib/portal-support-flatpak-network-only.test
647s ok - glib/portal-support-flatpak-network-only.test
647s # Running test: glib/simple-proxy.test
647s ok - glib/simple-proxy.test
647s # Running test: glib/g-file-info.test
647s ok - glib/g-file-info.test
647s # Running test: glib/socket-listener.test
647s ok 2 /giomodule/module-scan-all
647s ok 3 /giomodule/module-scan-all-with-scope
647s # End of giomodule tests
647s TAP version 14
647s # random seed: R02Sde55b33948b1a6f6a3ca9be989e50f67
647s 1..2
647s # Start of converter tests
647s ok 1 /converter/bytes
647s ok 2 /converter/extra-bytes-at-end
647s # End of converter tests
647s TAP version 14
647s # random seed: R02S1394b0ddad2ad8950879e081bd82c73d
647s 1..14
647s # Start of quark tests
647s ok 1 /quark/basic
647s ok 2 /quark/string
647s # End of quark tests
647s # Start of dataset tests
647s ok 3 /dataset/basic
647s ok 4 /dataset/id
647s ok 5 /dataset/full
647s ok 6 /dataset/foreach
647s ok 7 /dataset/destroy
647s # End of dataset tests
647s # Start of datalist tests
647s ok 8 /datalist/basic
647s ok 9 /datalist/id
647s ok 10 /datalist/recursive-clear
647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
647s ok 11 /datalist/id-remove-multiple
647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
647s ok 12 /datalist/id-remove-multiple-destroy-order
647s ok 13 /datalist/update-atomic
647s # Start of id-remove-multiple tests
647s ok 14 /datalist/id-remove-multiple/resize
647s # End of id-remove-multiple tests
647s # End of datalist tests
647s TAP version 14
647s # random seed: R02Sdc1818b92ee8f99cbbbd5b995fc7a71c
647s 1..3
647s # Start of stream tests
647s # Start of read_all_async tests
647s ok 1 /stream/read_all_async/memory
647s # End of read_all_async tests
647s # Start of write_all_async tests
647s ok 2 /stream/write_all_async/memory
647s # End of write_all_async tests
647s # Start of read_write_all_async tests
647s ok 3 /stream/read_write_all_async/pipe
647s # End of read_write_all_async tests
647s # End of stream tests
647s TAP version 14
647s # random seed: R02Sd5846531fbab1ae212708f73800d36b2
647s 1..1
647s # Start of portal-support tests
647s # Start of flatpak tests
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/runtime
647s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_X6Y452/portal-support/flatpak/network/.dirs/runtime/.flatpak-info
647s ok 1 /portal-support/flatpak/network
647s # End of flatpak tests
647s # End of portal-support tests
647s TAP version 14
647s # random seed: R02S634570ef976a8c6e4bddea6c32cbc93f
647s 1..3
647s # Start of static-proxy tests
647s ok 1 /static-proxy/uri
647s ok 2 /static-proxy/socks
647s ok 3 /static-proxy/ignore
647s # End of static-proxy tests
647s TAP version 14
647s # random seed: R02S790b096d72aa7781ca6da872ff6ec7e5
647s 1..6
647s # Start of g-file-info tests
647s ok 1 /g-file-info/test_g_file_info
647s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs
647s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
647s ok 2 /g-file-info/xattrs
647s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds
647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116
647s ok 3 /g-file-info/set-modified-date-time-precision
647s # Start of test_g_file_info tests
647s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works.
647s ok 4 /g-file-info/test_g_file_info/modification-time
647s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works.
647s ok 5 /g-file-info/test_g_file_info/access-time
647s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works.
647s ok 6 /g-file-info/test_g_file_info/creation-time
647s # End of test_g_file_info tests
647s # End of g-file-info tests
647s TAP version 14
647s # random seed: R02S14a7e264ddd97496ba4d5b5d6ef00ae1
647s 1..1
647s # Start of socket-listener tests
647s ok 1 /socket-listener/event-signal
647s # End of socket-listener tests
647s ok - glib/socket-listener.test
647s # Running test: glib/utils-isolated.test
647s TAP version 14
647s # random seed: R02Sc25d8c319959995af925db31c25d7905
647s 1..11
647s # Start of utils-isolated tests
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/tmp-dir/.dirs/runtime
647s ok 1 /utils-isolated/tmp-dir
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/home-dir/.dirs/runtime
647s ok 2 /utils-isolated/home-dir
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/user-cache-dir/.dirs/runtime
647s ok 3 /utils-isolated/user-cache-dir
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/system-config-dirs/.dirs/runtime
647s ok 4 /utils-isolated/system-config-dirs
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/user-config-dir/.dirs/runtime
647s ok 5 /utils-isolated/user-config-dir
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/system-data-dirs/.dirs/runtime
647s ok 6 /utils-isolated/system-data-dirs
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/user-data-dir/.dirs/runtime
647s ok 7 /utils-isolated/user-data-dir
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/user-state-dir/.dirs/runtime
647s ok 8 /utils-isolated/user-state-dir
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/user-runtime-dir/.dirs/runtime
647s ok 9 /utils-isolated/user-runtime-dir
647s # Start of cleanup tests
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/runtime
647s Unable to clean up temporary directory /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty
647s Unable to clean up temporary directory /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty
647s Unable to clean up temporary directory /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/handles-errors: Directory not empty
647s ok 10 /utils-isolated/cleanup/handles-errors
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime
647s Unable to clean up temporary directory /tmp/test_utils-isolated_4L4452/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory
647s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks
647s # End of cleanup tests
647s # End of utils-isolated tests
647s ok - glib/utils-isolated.test
647s # Running test: glib/gdbus-method-invocation.test
647s TAP version 14
647s # random seed: R02S0c91d1a1081204ecfe23ce9cea2fccc6
647s 1..1
647s # Start of gdbus tests
647s # Start of method-invocation tests
647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/home
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/cache
647s ok - glib/gdbus-method-invocation.test
647s # Running test: glib/signal-handler.test
647s ok - glib/signal-handler.test
647s # Running test: glib/io-channel-basic.test
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/system-config2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/config
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/system-data2
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/data
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/state
647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_BCM452/gdbus/method-invocation/return/.dirs/runtime
647s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways
647s # Calling org.freedesktop.DBus.Properties.Get
647s # Calling org.freedesktop.DBus.Properties.Get
647s # Calling org.freedesktop.DBus.Properties.Get
647s # Calling org.freedesktop.DBus.Properties.Set
647s # Calling org.freedesktop.DBus.Properties.GetAll
647s # Calling org.example.Foo.WrongReturnType
647s # Calling org.example.Foo.GetFDs
647s # Calling org.example.Foo.GetFDs
647s # Calling org.example.Foo.ReturnError
647s # Calling org.example.Foo.CloseBeforeReturning
647s ok 1 /gdbus/method-invocation/return
647s # End of method-invocation tests
647s # End of gdbus tests
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
647s TAP version 14
647s # random seed: R02S808b7ac07a9174bdacf18035726a8492
647s 1..7
647s # Start of signal tests
647s # Start of handler tests
647s # min perf: connected 1 handlers in 0.000 seconds
647s ok 1 /signal/handler/connect-many
647s # min perf: disconnected 1 handlers in 0.000 seconds
647s ok 2 /signal/handler/disconnect-many-ordered
647s # min perf: disconnected 1 handlers in 0.000 seconds
647s ok 3 /signal/handler/disconnect-many-inverse
647s # min perf: disconnected 1 handlers in 0.000 seconds
647s ok 4 /signal/handler/disconnect-many-random
647s # min perf: disconnected 1 handlers in 0.000 seconds
647s ok 5 /signal/handler/disconnect-2-signals
647s # min perf: disconnected 1 handlers in 0.000 seconds
647s ok 6 /signal/handler/disconnect-2-objects
647s # min perf: blocked and unblocked 1 handlers in 0.000 seconds
647s ok 7 /signal/handler/block-many
647s # End of handler tests
647s # End of signal tests
647s TAP version 14
647s # random seed: R02Sa6524e0f7aa4357cd87272c872989fbe
647s 1..1
647s # Start of gio tests
647s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
647s # random seed: R02S6a21692859c06a6fe861833d931f32c3
647s # GLib-DEBUG: io-channel-basic: child writing 8+4345 bytes to 6
647s # GLib-DEBUG: io-channel-basic: ...from 5: IN
647s # GLib-DEBUG: io-channel-basic: ...from 5: 4345 bytes
647s # GLib-DEBUG: io-channel-basic: ...from 5: OK
648s # GLib-DEBUG: io-channel-basic: child writing 8+1111 bytes to 6
648s # GLib-DEBUG: io-channel-basic: ...from 5: IN
648s # GLib-DEBUG: io-channel-basic: ...from 5: 1111 bytes
648s # GLib-DEBUG: io-channel-basic: ...from 5: OK
648s # GLib-DEBUG: io-channel-basic: child writing 8+3843 bytes to 6
648s # GLib-DEBUG: io-channel-basic: ...from 5: IN
648s # GLib-DEBUG: io-channel-basic: ...from 5: 3843 bytes
648s # GLib-DEBUG: io-channel-basic: ...from 5: OK
648s # GLib-DEBUG: io-channel-basic: child writing 8+2940 bytes to 6
648s # GLib-DEBUG: io-channel-basic: ...from 5: IN
648s # GLib-DEBUG: io-channel-basic: ...from 5: 2940 bytes
648s # GLib-DEBUG: io-channel-basic: ...from 5: OK
648s # GLib-DEBUG: io-channel-basic: child writing 8+4397 bytes to 6
648s # GLib-DEBUG: io-channel-basic: ...from 5: IN
648s # GLib-DEBUG: io-channel-basic: ...from 5: 4397 bytes
648s # GLib-DEBUG: io-channel-basic: ...from 5: OK
649s # GLib-DEBUG: io-channel-basic: child writing 8+1999 bytes to 6
649s # GLib-DEBUG: io-channel-basic: ...from 5: IN
649s # GLib-DEBUG: io-channel-basic: ...from 5: 1999 bytes
649s # GLib-DEBUG: io-channel-basic: ...from 5: OK
649s # GLib-DEBUG: io-channel-basic: child writing 8+3330 bytes to 6
649s # GLib-DEBUG: io-channel-basic: ...from 5: IN
649s # GLib-DEBUG: io-channel-basic: ...from 5: 3330 bytes
649s # GLib-DEBUG: io-channel-basic: ...from 5: OK
649s # GLib-DEBUG: io-channel-basic: child writing 8+76 bytes to 6
649s # GLib-DEBUG: io-channel-basic: ...from 5: IN
649s # GLib-DEBUG: io-channel-basic: ...from 5: 76 bytes
649s # GLib-DEBUG: io-channel-basic: ...from 5: OK
649s # GLib-DEBUG: io-channel-basic: child writing 8+3108 bytes to 6
649s # GLib-DEBUG: io-channel-basic: ...from 5: IN
649s # GLib-DEBUG: io-channel-basic: ...from 5: 3108 bytes
649s # GLib-DEBUG: io-channel-basic: ...from 5: OK
650s # Executing: glib/io-channel-basic.test
650s # GLib-DEBUG: io-channel-basic: child writing 8+546 bytes to 6
650s # GLib-DEBUG: io-channel-basic: ...from 5: IN
650s # GLib-DEBUG: io-channel-basic: ...from 5: 546 bytes
650s # GLib-DEBUG: io-channel-basic: ...from 5: OK
650s # GLib-DEBUG: io-channel-basic: child writing 8+4862 bytes to 6
650s # GLib-DEBUG: io-channel-basic: ...from 5: IN
650s # GLib-DEBUG: io-channel-basic: ...from 5: 4862 bytes
650s # GLib-DEBUG: io-channel-basic: ...from 5: OK
650s # GLib-DEBUG: io-channel-basic: child writing 8+324 bytes to 6
650s # GLib-DEBUG: io-channel-basic: ...from 5: IN
650s # GLib-DEBUG: io-channel-basic: ...from 5: 324 bytes
650s # GLib-DEBUG: io-channel-basic: ...from 5: OK
650s # GLib-DEBUG: io-channel-basic: child writing 8+2884 bytes to 6
650s # GLib-DEBUG: io-channel-basic: ...from 5: IN
650s # GLib-DEBUG: io-channel-basic: ...from 5: 2884 bytes
650s # GLib-DEBUG: io-channel-basic: ...from 5: OK
651s # GLib-DEBUG: io-channel-basic: child writing 8+2343 bytes to 6
651s # GLib-DEBUG: io-channel-basic: ...from 5: IN
651s # GLib-DEBUG: io-channel-basic: ...from 5: 2343 bytes
651s # GLib-DEBUG: io-channel-basic: ...from 5: OK
651s # GLib-DEBUG: io-channel-basic: child writing 8+2515 bytes to 6
651s # GLib-DEBUG: io-channel-basic: ...from 5: IN
651s # GLib-DEBUG: io-channel-basic: ...from 5: 2515 bytes
651s # GLib-DEBUG: io-channel-basic: ...from 5: OK
651s # GLib-DEBUG: io-channel-basic: child writing 8+39 bytes to 6
651s # GLib-DEBUG: io-channel-basic: ...from 5: IN
651s # GLib-DEBUG: io-channel-basic: ...from 5: 39 bytes
651s # GLib-DEBUG: io-channel-basic: ...from 5: OK
651s # GLib-DEBUG: io-channel-basic: child writing 8+1992 bytes to 6
651s # GLib-DEBUG: io-channel-basic: ...from 5: IN
651s # GLib-DEBUG: io-channel-basic: ...from 5: 1992 bytes
651s # GLib-DEBUG: io-channel-basic: ...from 5: OK
652s # GLib-DEBUG: io-channel-basic: child writing 8+4147 bytes to 6
652s # GLib-DEBUG: io-channel-basic: ...from 5: IN
652s # GLib-DEBUG: io-channel-basic: ...from 5: 4147 bytes
652s # GLib-DEBUG: io-channel-basic: ...from 5: OK
652s # GLib-DEBUG: io-channel-basic: child writing 8+166 bytes to 6
652s # GLib-DEBUG: io-channel-basic: ...from 5: IN
652s # GLib-DEBUG: io-channel-basic: ...from 5: 166 bytes
652s # GLib-DEBUG: io-channel-basic: ...from 5: OK
652s # GLib-DEBUG: io-channel-basic: child writing 8+4769 bytes to 6
652s # GLib-DEBUG: io-channel-basic: ...from 5: IN
652s # GLib-DEBUG: io-channel-basic: ...from 5: 4769 bytes
652s # GLib-DEBUG: io-channel-basic: ...from 5: OK
652s # GLib-DEBUG: io-channel-basic: child writing 8+1033 bytes to 6
652s # GLib-DEBUG: io-channel-basic: ...from 5: IN
652s # GLib-DEBUG: io-channel-basic: ...from 5: 1033 bytes
652s # GLib-DEBUG: io-channel-basic: ...from 5: OK
652s # GLib-DEBUG: io-channel-basic: child exiting, closing 6
652s # GLib-DEBUG: io-channel-basic: ...from 5: HUP
652s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
652s # random seed: R02Sfd14b7caffaeef4e68e2b160971ca2b2
652s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
652s # random seed: R02Sb28976e8cd19fc7c6328285f690b49d3
652s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
652s # random seed: R02S30dc0d64b66c10c7fb960670b5819bc6
652s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
652s # random seed: R02S010db1ffbc0ec5548906233895874b70
652s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
652s # random seed: R02S8d294fd35bb7132e3bbe82db13c1cfc1
653s # GLib-DEBUG: io-channel-basic: child writing 8+3213 bytes to 13
653s # GLib-DEBUG: io-channel-basic: ...from 12: IN
653s # GLib-DEBUG: io-channel-basic: ...from 12: 3213 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 12: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+3910 bytes to 9
653s # GLib-DEBUG: io-channel-basic: ...from 8: IN
653s # GLib-DEBUG: io-channel-basic: ...from 8: 3910 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 8: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+756 bytes to 15
653s # GLib-DEBUG: io-channel-basic: ...from 14: IN
653s # GLib-DEBUG: io-channel-basic: ...from 14: 756 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 14: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+2121 bytes to 17
653s # GLib-DEBUG: io-channel-basic: ...from 16: IN
653s # GLib-DEBUG: io-channel-basic: ...from 16: 2121 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 16: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+3025 bytes to 11
653s # GLib-DEBUG: io-channel-basic: ...from 10: IN
653s # GLib-DEBUG: io-channel-basic: ...from 10: 3025 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 10: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+2127 bytes to 13
653s # GLib-DEBUG: io-channel-basic: ...from 12: IN
653s # GLib-DEBUG: io-channel-basic: ...from 12: 2127 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 12: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+1959 bytes to 9
653s # GLib-DEBUG: io-channel-basic: ...from 8: IN
653s # GLib-DEBUG: io-channel-basic: ...from 8: 1959 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 8: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+3089 bytes to 17
653s # GLib-DEBUG: io-channel-basic: ...from 16: IN
653s # GLib-DEBUG: io-channel-basic: ...from 16: 3089 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 16: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+2039 bytes to 15
653s # GLib-DEBUG: io-channel-basic: ...from 14: IN
653s # GLib-DEBUG: io-channel-basic: ...from 14: 2039 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 14: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+320 bytes to 11
653s # GLib-DEBUG: io-channel-basic: ...from 10: IN
653s # GLib-DEBUG: io-channel-basic: ...from 10: 320 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 10: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+3202 bytes to 17
653s # GLib-DEBUG: io-channel-basic: ...from 16: IN
653s # GLib-DEBUG: io-channel-basic: ...from 16: 3202 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 16: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+2687 bytes to 9
653s # GLib-DEBUG: io-channel-basic: ...from 8: IN
653s # GLib-DEBUG: io-channel-basic: ...from 8: 2687 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 8: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+4548 bytes to 13
653s # GLib-DEBUG: io-channel-basic: ...from 12: IN
653s # GLib-DEBUG: io-channel-basic: ...from 12: 4548 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 12: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+395 bytes to 15
653s # GLib-DEBUG: io-channel-basic: ...from 14: IN
653s # GLib-DEBUG: io-channel-basic: ...from 14: 395 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 14: OK
653s # GLib-DEBUG: io-channel-basic: child writing 8+1364 bytes to 11
653s # GLib-DEBUG: io-channel-basic: ...from 10: IN
653s # GLib-DEBUG: io-channel-basic: ...from 10: 1364 bytes
653s # GLib-DEBUG: io-channel-basic: ...from 10: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+3825 bytes to 9
654s # GLib-DEBUG: io-channel-basic: ...from 8: IN
654s # GLib-DEBUG: io-channel-basic: ...from 8: 3825 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 8: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+1840 bytes to 13
654s # GLib-DEBUG: io-channel-basic: ...from 12: IN
654s # GLib-DEBUG: io-channel-basic: ...from 12: 1840 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 12: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+1176 bytes to 17
654s # GLib-DEBUG: io-channel-basic: ...from 16: IN
654s # GLib-DEBUG: io-channel-basic: ...from 16: 1176 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 16: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+4068 bytes to 15
654s # GLib-DEBUG: io-channel-basic: ...from 14: IN
654s # GLib-DEBUG: io-channel-basic: ...from 14: 4068 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 14: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+4609 bytes to 11
654s # GLib-DEBUG: io-channel-basic: ...from 10: IN
654s # GLib-DEBUG: io-channel-basic: ...from 10: 4609 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 10: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+654 bytes to 9
654s # GLib-DEBUG: io-channel-basic: ...from 8: IN
654s # GLib-DEBUG: io-channel-basic: ...from 8: 654 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 8: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+3961 bytes to 13
654s # GLib-DEBUG: io-channel-basic: ...from 12: IN
654s # GLib-DEBUG: io-channel-basic: ...from 12: 3961 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 12: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+2198 bytes to 17
654s # GLib-DEBUG: io-channel-basic: ...from 16: IN
654s # GLib-DEBUG: io-channel-basic: ...from 16: 2198 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 16: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+1185 bytes to 15
654s # GLib-DEBUG: io-channel-basic: ...from 14: IN
654s # GLib-DEBUG: io-channel-basic: ...from 14: 1185 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 14: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+2688 bytes to 11
654s # GLib-DEBUG: io-channel-basic: ...from 10: IN
654s # GLib-DEBUG: io-channel-basic: ...from 10: 2688 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 10: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+457 bytes to 9
654s # GLib-DEBUG: io-channel-basic: ...from 8: IN
654s # GLib-DEBUG: io-channel-basic: ...from 8: 457 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 8: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+1871 bytes to 13
654s # GLib-DEBUG: io-channel-basic: ...from 12: IN
654s # GLib-DEBUG: io-channel-basic: ...from 12: 1871 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 12: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+4919 bytes to 17
654s # GLib-DEBUG: io-channel-basic: ...from 16: IN
654s # GLib-DEBUG: io-channel-basic: ...from 16: 4919 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 16: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+3473 bytes to 15
654s # GLib-DEBUG: io-channel-basic: ...from 14: IN
654s # GLib-DEBUG: io-channel-basic: ...from 14: 3473 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 14: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+4048 bytes to 11
654s # GLib-DEBUG: io-channel-basic: ...from 10: IN
654s # GLib-DEBUG: io-channel-basic: ...from 10: 4048 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 10: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+2746 bytes to 9
654s # GLib-DEBUG: io-channel-basic: ...from 8: IN
654s # GLib-DEBUG: io-channel-basic: ...from 8: 2746 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 8: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+3100 bytes to 13
654s # GLib-DEBUG: io-channel-basic: ...from 12: IN
654s # GLib-DEBUG: io-channel-basic: ...from 12: 3100 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 12: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+515 bytes to 15
654s # GLib-DEBUG: io-channel-basic: ...from 14: IN
654s # GLib-DEBUG: io-channel-basic: ...from 14: 515 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 14: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+4119 bytes to 17
654s # GLib-DEBUG: io-channel-basic: ...from 16: IN
654s # GLib-DEBUG: io-channel-basic: ...from 16: 4119 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 16: OK
654s # GLib-DEBUG: io-channel-basic: child writing 8+3337 bytes to 11
654s # GLib-DEBUG: io-channel-basic: ...from 10: IN
654s # GLib-DEBUG: io-channel-basic: ...from 10: 3337 bytes
654s # GLib-DEBUG: io-channel-basic: ...from 10: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+1253 bytes to 9
655s # GLib-DEBUG: io-channel-basic: ...from 8: IN
655s # GLib-DEBUG: io-channel-basic: ...from 8: 1253 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 8: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+3739 bytes to 13
655s # GLib-DEBUG: io-channel-basic: ...from 12: IN
655s # GLib-DEBUG: io-channel-basic: ...from 12: 3739 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 12: OK
655s # Executing: glib/io-channel-basic.test
655s # GLib-DEBUG: io-channel-basic: child writing 8+649 bytes to 15
655s # GLib-DEBUG: io-channel-basic: ...from 14: IN
655s # GLib-DEBUG: io-channel-basic: ...from 14: 649 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 14: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+3048 bytes to 17
655s # GLib-DEBUG: io-channel-basic: ...from 16: IN
655s # GLib-DEBUG: io-channel-basic: ...from 16: 3048 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 16: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+4476 bytes to 11
655s # GLib-DEBUG: io-channel-basic: ...from 10: IN
655s # GLib-DEBUG: io-channel-basic: ...from 10: 4476 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 10: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+1537 bytes to 9
655s # GLib-DEBUG: io-channel-basic: ...from 8: IN
655s # GLib-DEBUG: io-channel-basic: ...from 8: 1537 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 8: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+351 bytes to 13
655s # GLib-DEBUG: io-channel-basic: ...from 12: IN
655s # GLib-DEBUG: io-channel-basic: ...from 12: 351 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 12: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+2610 bytes to 15
655s # GLib-DEBUG: io-channel-basic: ...from 14: IN
655s # GLib-DEBUG: io-channel-basic: ...from 14: 2610 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 14: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+3752 bytes to 17
655s # GLib-DEBUG: io-channel-basic: ...from 16: IN
655s # GLib-DEBUG: io-channel-basic: ...from 16: 3752 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 16: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+4092 bytes to 11
655s # GLib-DEBUG: io-channel-basic: ...from 10: IN
655s # GLib-DEBUG: io-channel-basic: ...from 10: 4092 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 10: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+617 bytes to 9
655s # GLib-DEBUG: io-channel-basic: ...from 8: IN
655s # GLib-DEBUG: io-channel-basic: ...from 8: 617 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 8: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+4047 bytes to 13
655s # GLib-DEBUG: io-channel-basic: ...from 12: IN
655s # GLib-DEBUG: io-channel-basic: ...from 12: 4047 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 12: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+4682 bytes to 15
655s # GLib-DEBUG: io-channel-basic: ...from 14: IN
655s # GLib-DEBUG: io-channel-basic: ...from 14: 4682 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 14: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+3825 bytes to 17
655s # GLib-DEBUG: io-channel-basic: ...from 16: IN
655s # GLib-DEBUG: io-channel-basic: ...from 16: 3825 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 16: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+4463 bytes to 11
655s # GLib-DEBUG: io-channel-basic: ...from 10: IN
655s # GLib-DEBUG: io-channel-basic: ...from 10: 4463 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 10: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+753 bytes to 9
655s # GLib-DEBUG: io-channel-basic: ...from 8: IN
655s # GLib-DEBUG: io-channel-basic: ...from 8: 753 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 8: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+2851 bytes to 13
655s # GLib-DEBUG: io-channel-basic: ...from 12: IN
655s # GLib-DEBUG: io-channel-basic: ...from 12: 2851 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 12: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+2493 bytes to 17
655s # GLib-DEBUG: io-channel-basic: ...from 16: IN
655s # GLib-DEBUG: io-channel-basic: ...from 16: 2493 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 16: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+1348 bytes to 15
655s # GLib-DEBUG: io-channel-basic: ...from 14: IN
655s # GLib-DEBUG: io-channel-basic: ...from 14: 1348 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 14: OK
655s # GLib-DEBUG: io-channel-basic: child writing 8+2715 bytes to 11
655s # GLib-DEBUG: io-channel-basic: ...from 10: IN
655s # GLib-DEBUG: io-channel-basic: ...from 10: 2715 bytes
655s # GLib-DEBUG: io-channel-basic: ...from 10: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+3198 bytes to 13
656s # GLib-DEBUG: io-channel-basic: ...from 12: IN
656s # GLib-DEBUG: io-channel-basic: ...from 12: 3198 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 12: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+47 bytes to 9
656s # GLib-DEBUG: io-channel-basic: ...from 8: IN
656s # GLib-DEBUG: io-channel-basic: ...from 8: 47 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 8: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+2256 bytes to 17
656s # GLib-DEBUG: io-channel-basic: ...from 16: IN
656s # GLib-DEBUG: io-channel-basic: ...from 16: 2256 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 16: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+3676 bytes to 15
656s # GLib-DEBUG: io-channel-basic: ...from 14: IN
656s # GLib-DEBUG: io-channel-basic: ...from 14: 3676 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 14: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+2432 bytes to 11
656s # GLib-DEBUG: io-channel-basic: ...from 10: IN
656s # GLib-DEBUG: io-channel-basic: ...from 10: 2432 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 10: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+2234 bytes to 13
656s # GLib-DEBUG: io-channel-basic: ...from 12: IN
656s # GLib-DEBUG: io-channel-basic: ...from 12: 2234 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 12: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+3870 bytes to 9
656s # GLib-DEBUG: io-channel-basic: ...from 8: IN
656s # GLib-DEBUG: io-channel-basic: ...from 8: 3870 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 8: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+3488 bytes to 17
656s # GLib-DEBUG: io-channel-basic: ...from 16: IN
656s # GLib-DEBUG: io-channel-basic: ...from 16: 3488 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 16: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+2223 bytes to 15
656s # GLib-DEBUG: io-channel-basic: ...from 14: IN
656s # GLib-DEBUG: io-channel-basic: ...from 14: 2223 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 14: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+3002 bytes to 11
656s # GLib-DEBUG: io-channel-basic: ...from 10: IN
656s # GLib-DEBUG: io-channel-basic: ...from 10: 3002 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 10: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+3130 bytes to 9
656s # GLib-DEBUG: io-channel-basic: ...from 8: IN
656s # GLib-DEBUG: io-channel-basic: ...from 8: 3130 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 8: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+4532 bytes to 13
656s # GLib-DEBUG: io-channel-basic: ...from 12: IN
656s # GLib-DEBUG: io-channel-basic: ...from 12: 4532 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 12: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+1898 bytes to 17
656s # GLib-DEBUG: io-channel-basic: ...from 16: IN
656s # GLib-DEBUG: io-channel-basic: ...from 16: 1898 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 16: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+343 bytes to 15
656s # GLib-DEBUG: io-channel-basic: ...from 14: IN
656s # GLib-DEBUG: io-channel-basic: ...from 14: 343 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 14: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+580 bytes to 11
656s # GLib-DEBUG: io-channel-basic: ...from 10: IN
656s # GLib-DEBUG: io-channel-basic: ...from 10: 580 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 10: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+2244 bytes to 9
656s # GLib-DEBUG: io-channel-basic: ...from 8: IN
656s # GLib-DEBUG: io-channel-basic: ...from 8: 2244 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 8: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+3619 bytes to 13
656s # GLib-DEBUG: io-channel-basic: ...from 12: IN
656s # GLib-DEBUG: io-channel-basic: ...from 12: 3619 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 12: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+2076 bytes to 17
656s # GLib-DEBUG: io-channel-basic: ...from 16: IN
656s # GLib-DEBUG: io-channel-basic: ...from 16: 2076 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 16: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+670 bytes to 15
656s # GLib-DEBUG: io-channel-basic: ...from 14: IN
656s # GLib-DEBUG: io-channel-basic: ...from 14: 670 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 14: OK
656s # GLib-DEBUG: io-channel-basic: child writing 8+37 bytes to 11
656s # GLib-DEBUG: io-channel-basic: ...from 10: IN
656s # GLib-DEBUG: io-channel-basic: ...from 10: 37 bytes
656s # GLib-DEBUG: io-channel-basic: ...from 10: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+1827 bytes to 9
657s # GLib-DEBUG: io-channel-basic: ...from 8: IN
657s # GLib-DEBUG: io-channel-basic: ...from 8: 1827 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 8: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+1501 bytes to 13
657s # GLib-DEBUG: io-channel-basic: ...from 12: IN
657s # GLib-DEBUG: io-channel-basic: ...from 12: 1501 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 12: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+156 bytes to 17
657s # GLib-DEBUG: io-channel-basic: ...from 16: IN
657s # GLib-DEBUG: io-channel-basic: ...from 16: 156 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 16: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+3841 bytes to 11
657s # GLib-DEBUG: io-channel-basic: ...from 10: IN
657s # GLib-DEBUG: io-channel-basic: ...from 10: 3841 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 10: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+4575 bytes to 15
657s # GLib-DEBUG: io-channel-basic: ...from 14: IN
657s # GLib-DEBUG: io-channel-basic: ...from 14: 4575 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 14: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+2184 bytes to 9
657s # GLib-DEBUG: io-channel-basic: ...from 8: IN
657s # GLib-DEBUG: io-channel-basic: ...from 8: 2184 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 8: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+2397 bytes to 13
657s # GLib-DEBUG: io-channel-basic: ...from 12: IN
657s # GLib-DEBUG: io-channel-basic: ...from 12: 2397 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 12: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+4193 bytes to 17
657s # GLib-DEBUG: io-channel-basic: ...from 16: IN
657s # GLib-DEBUG: io-channel-basic: ...from 16: 4193 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 16: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+3168 bytes to 11
657s # GLib-DEBUG: io-channel-basic: ...from 10: IN
657s # GLib-DEBUG: io-channel-basic: ...from 10: 3168 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 10: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+1619 bytes to 15
657s # GLib-DEBUG: io-channel-basic: ...from 14: IN
657s # GLib-DEBUG: io-channel-basic: ...from 14: 1619 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 14: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+1575 bytes to 9
657s # GLib-DEBUG: io-channel-basic: ...from 8: IN
657s # GLib-DEBUG: io-channel-basic: ...from 8: 1575 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 8: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+113 bytes to 13
657s # GLib-DEBUG: io-channel-basic: ...from 12: IN
657s # GLib-DEBUG: io-channel-basic: ...from 12: 113 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 12: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+1431 bytes to 17
657s # GLib-DEBUG: io-channel-basic: ...from 16: IN
657s # GLib-DEBUG: io-channel-basic: ...from 16: 1431 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 16: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+3955 bytes to 11
657s # GLib-DEBUG: io-channel-basic: ...from 10: IN
657s # GLib-DEBUG: io-channel-basic: ...from 10: 3955 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 10: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+2636 bytes to 15
657s # GLib-DEBUG: io-channel-basic: ...from 14: IN
657s # GLib-DEBUG: io-channel-basic: ...from 14: 2636 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 14: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+4994 bytes to 9
657s # GLib-DEBUG: io-channel-basic: ...from 8: IN
657s # GLib-DEBUG: io-channel-basic: ...from 8: 4994 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 8: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+1774 bytes to 13
657s # GLib-DEBUG: io-channel-basic: ...from 12: IN
657s # GLib-DEBUG: io-channel-basic: ...from 12: 1774 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 12: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+2922 bytes to 17
657s # GLib-DEBUG: io-channel-basic: ...from 16: IN
657s # GLib-DEBUG: io-channel-basic: ...from 16: 2922 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 16: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 11
657s # GLib-DEBUG: io-channel-basic: ...from 10: IN
657s # GLib-DEBUG: io-channel-basic: ...from 10: 3606 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 10: OK
657s # GLib-DEBUG: io-channel-basic: child writing 8+3121 bytes to 15
657s # GLib-DEBUG: io-channel-basic: ...from 14: IN
657s # GLib-DEBUG: io-channel-basic: ...from 14: 3121 bytes
657s # GLib-DEBUG: io-channel-basic: ...from 14: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+1447 bytes to 9
658s # GLib-DEBUG: io-channel-basic: ...from 8: IN
658s # GLib-DEBUG: io-channel-basic: ...from 8: 1447 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 8: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+1238 bytes to 13
658s # GLib-DEBUG: io-channel-basic: ...from 12: IN
658s # GLib-DEBUG: io-channel-basic: ...from 12: 1238 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 12: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+2246 bytes to 11
658s # GLib-DEBUG: io-channel-basic: ...from 10: IN
658s # GLib-DEBUG: io-channel-basic: ...from 10: 2246 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 10: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+1713 bytes to 17
658s # GLib-DEBUG: io-channel-basic: ...from 16: IN
658s # GLib-DEBUG: io-channel-basic: ...from 16: 1713 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 16: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+2362 bytes to 15
658s # GLib-DEBUG: io-channel-basic: child exiting, closing 15
658s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN
658s # GLib-DEBUG: io-channel-basic: ...from 14: 2362 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 14: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+4454 bytes to 13
658s # GLib-DEBUG: io-channel-basic: ...from 12: IN
658s # GLib-DEBUG: io-channel-basic: ...from 12: 4454 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 12: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+1093 bytes to 9
658s # GLib-DEBUG: io-channel-basic: child exiting, closing 9
658s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN
658s # GLib-DEBUG: io-channel-basic: ...from 8: 1093 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 8: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+3198 bytes to 17
658s # GLib-DEBUG: io-channel-basic: ...from 16: IN
658s # GLib-DEBUG: io-channel-basic: ...from 16: 3198 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 16: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+136 bytes to 11
658s # GLib-DEBUG: io-channel-basic: ...from 10: IN
658s # GLib-DEBUG: io-channel-basic: ...from 10: 136 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 10: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+4416 bytes to 13
658s # GLib-DEBUG: io-channel-basic: child exiting, closing 13
658s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN
658s # GLib-DEBUG: io-channel-basic: ...from 12: 4416 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 12: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+163 bytes to 17
658s # GLib-DEBUG: io-channel-basic: child exiting, closing 17
658s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN
658s # GLib-DEBUG: io-channel-basic: ...from 16: 163 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 16: OK
658s # GLib-DEBUG: io-channel-basic: child writing 8+4405 bytes to 11
658s # GLib-DEBUG: io-channel-basic: ...from 10: IN
658s # GLib-DEBUG: io-channel-basic: ...from 10: 4405 bytes
658s # GLib-DEBUG: io-channel-basic: ...from 10: OK
659s # GLib-DEBUG: io-channel-basic: child writing 8+1076 bytes to 11
659s # GLib-DEBUG: io-channel-basic: ...from 10: IN
659s # GLib-DEBUG: io-channel-basic: ...from 10: 1076 bytes
659s # GLib-DEBUG: io-channel-basic: ...from 10: OK
659s ok - glib/io-channel-basic.test
659s # Running test: glib/credentials.test
659s # GLib-DEBUG: io-channel-basic: child writing 8+4814 bytes to 11
659s # GLib-DEBUG: io-channel-basic: child exiting, closing 11
659s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN
659s # GLib-DEBUG: io-channel-basic: ...from 10: 4814 bytes
659s # GLib-DEBUG: io-channel-basic: ...from 10: OK
659s ok 1 /gio/io-basics
659s # slow test /gio/io-basics executed in 11.79 secs
659s # End of gio tests
659s ok - glib/credentials.test
659s TAP version 14
659s # random seed: R02S6f9022cfbe202cc60c52ca9f9d52fc54
659s 1..1
659s # Start of credentials tests
659s # GCredentials:linux-ucred:pid=3855,uid=1000,gid=1000
659s # GCredentials:linux-ucred:pid=3855,uid=0,gid=1000
659s ok 1 /credentials/basic
659s # End of credentials tests
659s # Running test: glib/memory-settings-backend.test
659s ok - glib/memory-settings-backend.test
659s TAP version 14
659s # random seed: R02S0b74c2b19b4d9c8d9e0f452267695f10
659s 1..1
659s # Start of memory-settings-backend tests
659s ok 1 /memory-settings-backend/extension-point-registered
659s # End of memory-settings-backend tests
659s # Running test: glib/pathbuf.test
659s ok - glib/pathbuf.test
659s # Running test: glib/codegen.py.test
659s TAP version 14
659s # random seed: R02S6e374aee704958ff7402f30d8e3d2d18
659s 1..3
659s # Start of pathbuf tests
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_N3C052/pathbuf/init/.dirs/runtime
659s # Initializing empty path buf
659s # Initializing with empty path
659s # Initializing with full path
659s # Initializing with no path
659s # Allocating GPathBuf on the heap
659s ok 1 /pathbuf/init
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_N3C052/pathbuf/push-pop/.dirs/runtime
659s # Pushing relative path component
659s # Pushing absolute path component
659s # Popping a path component
659s # Can't pop the last element of a path buffer
659s ok 2 /pathbuf/push-pop
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_N3C052/pathbuf/filename-extension/.dirs/runtime
659s ok 3 /pathbuf/filename-extension
659s # End of pathbuf tests
659s TAP version 13
659s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args
659s # gdbus-codegen: /usr/bin/gdbus-codegen
659s # tmpdir: /tmp/tmpl7g89a58
659s # /tmp/tmpl7g89a58/tmp6u95xndp.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl7g89a58/tmp6u95xndp.xml', '--output', '-', '--header']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifndef __STDOUT__
659s # #define __STDOUT__
659s #
659s # #include
659s #
659s # G_BEGIN_DECLS
659s #
659s #
659s # /* ------------------------------------------------------------------------ */
659s # /* Declarations for org.project.UsefulInterface */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
659s #
659s # struct _OrgProjectUsefulInterface;
659s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
659s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
659s #
659s # struct _OrgProjectUsefulInterfaceIface
659s # {
659s # GTypeInterface parent_iface;
659s #
659s # gboolean (*handle_useful_method) (
659s # OrgProjectUsefulInterface *object,
659s # GDBusMethodInvocation *invocation);
659s #
659s # };
659s #
659s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
659s #
659s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
659s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
659s #
659s #
659s # /* D-Bus method call completion functions: */
659s # void org_project_useful_interface_complete_useful_method (
659s # OrgProjectUsefulInterface *object,
659s # GDBusMethodInvocation *invocation);
659s #
659s #
659s #
659s # /* D-Bus method calls: */
659s # void org_project_useful_interface_call_useful_method (
659s # OrgProjectUsefulInterface *proxy,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s #
659s # gboolean org_project_useful_interface_call_useful_method_finish (
659s # OrgProjectUsefulInterface *proxy,
659s # GAsyncResult *res,
659s # GError **error);
659s #
659s # gboolean org_project_useful_interface_call_useful_method_sync (
659s # OrgProjectUsefulInterface *proxy,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s #
659s #
659s # /* ---- */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
659s #
659s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
659s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
659s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
659s #
659s # struct _OrgProjectUsefulInterfaceProxy
659s # {
659s # /*< private >*/
659s # GDBusProxy parent_instance;
659s # OrgProjectUsefulInterfaceProxyPrivate *priv;
659s # };
659s #
659s # struct _OrgProjectUsefulInterfaceProxyClass
659s # {
659s # GDBusProxyClass parent_class;
659s # };
659s #
659s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
659s #
659s # #if GLIB_CHECK_VERSION(2, 44, 0)
659s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
659s # #endif
659s #
659s # void org_project_useful_interface_proxy_new (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
659s # GAsyncResult *res,
659s # GError **error);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s # void org_project_useful_interface_proxy_new_for_bus (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
659s # GAsyncResult *res,
659s # GError **error);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s #
659s # /* ---- */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
659s #
659s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
659s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
659s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
659s #
659s # struct _OrgProjectUsefulInterfaceSkeleton
659s # {
659s # /*< private >*/
659s # GDBusInterfaceSkeleton parent_instance;
659s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
659s # };
659s #
659s # struct _OrgProjectUsefulInterfaceSkeletonClass
659s # {
659s # GDBusInterfaceSkeletonClass parent_class;
659s # };
659s #
659s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
659s #
659s # #if GLIB_CHECK_VERSION(2, 44, 0)
659s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
659s # #endif
659s #
659s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
659s #
659s #
659s # G_END_DECLS
659s #
659s # #endif /* __STDOUT__ */
659s # Error:
659s #
659s # /tmp/tmpl7g89a58/tmpoybd6lif.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl7g89a58/tmpoybd6lif.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifndef __STDOUT__
659s # #define __STDOUT__
659s #
659s # #include
659s #
659s # G_BEGIN_DECLS
659s #
659s #
659s # /* ------------------------------------------------------------------------ */
659s # /* Declarations for org.project.UsefulInterface */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
659s #
659s # struct _OrgProjectUsefulInterface;
659s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
659s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
659s #
659s # struct _OrgProjectUsefulInterfaceIface
659s # {
659s # GTypeInterface parent_iface;
659s #
659s # gboolean (*handle_useful_method) (
659s # OrgProjectUsefulInterface *object,
659s # GDBusMethodInvocation *invocation);
659s #
659s # };
659s #
659s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
659s #
659s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
659s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
659s #
659s #
659s # /* D-Bus method call completion functions: */
659s # void org_project_useful_interface_complete_useful_method (
659s # OrgProjectUsefulInterface *object,
659s # GDBusMethodInvocation *invocation);
659s #
659s #
659s #
659s # /* D-Bus method calls: */
659s # void org_project_useful_interface_call_useful_method (
659s # OrgProjectUsefulInterface *proxy,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s #
659s # gboolean org_project_useful_interface_call_useful_method_finish (
659s # OrgProjectUsefulInterface *proxy,
659s # GAsyncResult *res,
659s # GError **error);
659s #
659s # gboolean org_project_useful_interface_call_useful_method_sync (
659s # OrgProjectUsefulInterface *proxy,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s #
659s #
659s # /* ---- */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
659s #
659s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
659s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
659s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
659s #
659s # struct _OrgProjectUsefulInterfaceProxy
659s # {
659s # /*< private >*/
659s # GDBusProxy parent_instance;
659s # OrgProjectUsefulInterfaceProxyPrivate *priv;
659s # };
659s #
659s # struct _OrgProjectUsefulInterfaceProxyClass
659s # {
659s # GDBusProxyClass parent_class;
659s # };
659s #
659s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
659s #
659s # #if GLIB_CHECK_VERSION(2, 44, 0)
659s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
659s # #endif
659s #
659s # void org_project_useful_interface_proxy_new (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
659s # GAsyncResult *res,
659s # GError **error);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s # void org_project_useful_interface_proxy_new_for_bus (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
659s # GAsyncResult *res,
659s # GError **error);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s #
659s # /* ---- */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
659s #
659s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
659s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
659s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
659s #
659s # struct _OrgProjectUsefulInterfaceSkeleton
659s # {
659s # /*< private >*/
659s # GDBusInterfaceSkeleton parent_instance;
659s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
659s # };
659s #
659s # struct _OrgProjectUsefulInterfaceSkeletonClass
659s # {
659s # GDBusInterfaceSkeletonClass parent_class;
659s # };
659s #
659s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
659s #
659s # #if GLIB_CHECK_VERSION(2, 44, 0)
659s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
659s # #endif
659s #
659s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
659s #
659s #
659s # G_END_DECLS
659s #
659s # #endif /* __STDOUT__ */
659s # Error:
659s #
659s # /tmp/tmpl7g89a58/tmp6dqcsy6v.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl7g89a58/tmp6dqcsy6v.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifndef __STDOUT__
659s # #define __STDOUT__
659s #
659s # #include
659s #
659s # G_BEGIN_DECLS
659s #
659s #
659s # /* ------------------------------------------------------------------------ */
659s # /* Declarations for org.project.UsefulInterface */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
659s #
659s # struct _OrgProjectUsefulInterface;
659s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
659s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
659s #
659s # struct _OrgProjectUsefulInterfaceIface
659s # {
659s # GTypeInterface parent_iface;
659s #
659s # gboolean (*handle_useful_method) (
659s # OrgProjectUsefulInterface *object,
659s # GDBusMethodInvocation *invocation);
659s #
659s # };
659s #
659s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
659s #
659s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
659s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
659s #
659s #
659s # /* D-Bus method call completion functions: */
659s # void org_project_useful_interface_complete_useful_method (
659s # OrgProjectUsefulInterface *object,
659s # GDBusMethodInvocation *invocation);
659s #
659s #
659s #
659s # /* D-Bus method calls: */
659s # void org_project_useful_interface_call_useful_method (
659s # OrgProjectUsefulInterface *proxy,
659s # GDBusCallFlags call_flags,
659s # gint timeout_msec,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s #
659s # gboolean org_project_useful_interface_call_useful_method_finish (
659s # OrgProjectUsefulInterface *proxy,
659s # GAsyncResult *res,
659s # GError **error);
659s #
659s # gboolean org_project_useful_interface_call_useful_method_sync (
659s # OrgProjectUsefulInterface *proxy,
659s # GDBusCallFlags call_flags,
659s # gint timeout_msec,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s #
659s #
659s # /* ---- */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
659s #
659s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
659s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
659s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
659s #
659s # struct _OrgProjectUsefulInterfaceProxy
659s # {
659s # /*< private >*/
659s # GDBusProxy parent_instance;
659s # OrgProjectUsefulInterfaceProxyPrivate *priv;
659s # };
659s #
659s # struct _OrgProjectUsefulInterfaceProxyClass
659s # {
659s # GDBusProxyClass parent_class;
659s # };
659s #
659s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
659s #
659s # #if GLIB_CHECK_VERSION(2, 44, 0)
659s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
659s # #endif
659s #
659s # void org_project_useful_interface_proxy_new (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
659s # GAsyncResult *res,
659s # GError **error);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s # void org_project_useful_interface_proxy_new_for_bus (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
659s # GAsyncResult *res,
659s # GError **error);
659s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error);
659s #
659s #
659s # /* ---- */
659s #
659s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
659s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
659s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
659s #
659s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
659s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
659s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
659s #
659s # struct _OrgProjectUsefulInterfaceSkeleton
659s # {
659s # /*< private >*/
659s # GDBusInterfaceSkeleton parent_instance;
659s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
659s # };
659s #
659s # struct _OrgProjectUsefulInterfaceSkeletonClass
659s # {
659s # GDBusInterfaceSkeletonClass parent_class;
659s # };
659s #
659s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
659s #
659s # #if GLIB_CHECK_VERSION(2, 44, 0)
659s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
659s # #endif
659s #
659s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
659s #
659s #
659s # G_END_DECLS
659s #
659s # #endif /* __STDOUT__ */
659s # Error:
659s ok 2 __main__.TestCodegen.test_dbus_types
659s # gdbus-codegen: /usr/bin/gdbus-codegen
659s # tmpdir: /tmp/tmpd5ezr3ms
659s # /tmp/tmpd5ezr3ms/tmpszy49f_3.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpszy49f_3.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1.
659s # /tmp/tmpd5ezr3ms/tmpl8hyr0fq.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpl8hyr0fq.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6.
659s # /tmp/tmpd5ezr3ms/tmpvosesvez.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpvosesvez.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "{s". Error parsing string or brackets not closed.
659s # /tmp/tmpd5ezr3ms/tmpij29s2kd.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpij29s2kd.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5.
659s # /tmp/tmpd5ezr3ms/tmpgz8juluz.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpgz8juluz.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "z". "z" is not a valid D-Bus type.
659s # /tmp/tmpd5ezr3ms/tmpi7aj7c4y.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpi7aj7c4y.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type.
659s # /tmp/tmpd5ezr3ms/tmpb6w_digz.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpb6w_digz.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "(". Error parsing string or brackets not closed.
659s # /tmp/tmpd5ezr3ms/tmpeg83wbei.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpeg83wbei.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed.
659s # /tmp/tmpd5ezr3ms/tmpxq_c831v.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpxq_c831v.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129.
659s # /tmp/tmpd5ezr3ms/tmpdd5u8tfu.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpdd5u8tfu.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: D-Bus maximum signature length of 255 exceeded.
659s # /tmp/tmpd5ezr3ms/tmp4ks44mw7.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmp4ks44mw7.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: D-Bus maximum signature length of 255 exceeded.
659s # /tmp/tmpd5ezr3ms/tmpe3fco_23.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpe3fco_23.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129.
659s # /tmp/tmpd5ezr3ms/tmptruxv8_9.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmptruxv8_9.xml', '--output', '-', '--body']
659s # Return code: 1
659s # Output:
659s #
659s # Error:
659s # ERROR: D-Bus maximum signature length of 255 exceeded.
659s # /tmp/tmpd5ezr3ms/tmpt9e9h_3o.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpt9e9h_3o.xml', '--output', '-', '--body']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifdef HAVE_CONFIG_H
659s # # include "config.h"
659s # #endif
659s #
659s # #include
659s # #ifdef G_OS_UNIX
659s # # include
659s # #endif
659s #
659s # #ifdef G_ENABLE_DEBUG
659s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
659s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
659s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
659s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
659s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
659s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
659s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
659s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
659s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
659s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
659s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
659s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
659s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
659s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
659s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
659s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
659s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
659s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
659s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
659s # #else /* !G_ENABLE_DEBUG */
659s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
659s # * Do not access GValues directly in your code. Instead, use the
659s # * g_value_get_*() functions
659s # */
659s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
659s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
659s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
659s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
659s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
659s # #endif /* !G_ENABLE_DEBUG */
659s #
659s # typedef struct
659s # {
659s # GDBusArgInfo parent_struct;
659s # gboolean use_gvariant;
659s # } _ExtendedGDBusArgInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusMethodInfo parent_struct;
659s # const gchar *signal_name;
659s # gboolean pass_fdlist;
659s # } _ExtendedGDBusMethodInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusSignalInfo parent_struct;
659s # const gchar *signal_name;
659s # } _ExtendedGDBusSignalInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusPropertyInfo parent_struct;
659s # const gchar *hyphen_name;
659s # guint use_gvariant : 1;
659s # guint emits_changed_signal : 1;
659s # } _ExtendedGDBusPropertyInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusInterfaceInfo parent_struct;
659s # const gchar *hyphen_name;
659s # } _ExtendedGDBusInterfaceInfo;
659s #
659s # typedef struct
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # guint prop_id;
659s # GValue orig_value; /* the value before the change */
659s # } ChangedProperty;
659s #
659s # static void
659s # _changed_property_free (ChangedProperty *data)
659s # {
659s # g_value_unset (&data->orig_value);
659s # g_free (data);
659s # }
659s #
659s # static gboolean
659s # _g_strv_equal0 (gchar **a, gchar **b)
659s # {
659s # gboolean ret = FALSE;
659s # guint n;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # if (g_strv_length (a) != g_strv_length (b))
659s # goto out;
659s # for (n = 0; a[n] != NULL; n++)
659s # if (g_strcmp0 (a[n], b[n]) != 0)
659s # goto out;
659s # ret = TRUE;
659s # out:
659s # return ret;
659s # }
659s #
659s # static gboolean
659s # _g_variant_equal0 (GVariant *a, GVariant *b)
659s # {
659s # gboolean ret = FALSE;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # ret = g_variant_equal (a, b);
659s # out:
659s # return ret;
659s # }
659s #
659s # G_GNUC_UNUSED static gboolean
659s # _g_value_equal (const GValue *a, const GValue *b)
659s # {
659s # gboolean ret = FALSE;
659s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
659s # switch (G_VALUE_TYPE (a))
659s # {
659s # case G_TYPE_BOOLEAN:
659s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
659s # break;
659s # case G_TYPE_UCHAR:
659s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
659s # break;
659s # case G_TYPE_INT:
659s # ret = (g_value_get_int (a) == g_value_get_int (b));
659s # break;
659s # case G_TYPE_UINT:
659s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
659s # break;
659s # case G_TYPE_INT64:
659s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
659s # break;
659s # case G_TYPE_UINT64:
659s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
659s # break;
659s # case G_TYPE_DOUBLE:
659s # {
659s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
659s # gdouble da = g_value_get_double (a);
659s # gdouble db = g_value_get_double (b);
659s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
659s # }
659s # break;
659s # case G_TYPE_STRING:
659s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
659s # break;
659s # case G_TYPE_VARIANT:
659s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
659s # break;
659s # default:
659s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
659s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
659s # else
659s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
659s # break;
659s # }
659s # return ret;
659s # }
659s #
659s # /* ------------------------------------------------------------------------
659s # * Code for interface GoodTypes
659s # * ------------------------------------------------------------------------
659s # */
659s #
659s # /**
659s # * SECTION:GoodTypes
659s # * @title: GoodTypes
659s # * @short_description: Generated C code for the GoodTypes D-Bus interface
659s # *
659s # * This section contains code for working with the GoodTypes D-Bus interface in C.
659s # */
659s #
659s # /* ---- Introspection data for GoodTypes ---- */
659s #
659s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
659s # {
659s # {
659s # -1,
659s # (gchar *) "GoodPropertyType",
659s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}",
659s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
659s # NULL
659s # },
659s # "good-property-type",
659s # FALSE,
659s # TRUE
659s # };
659s #
659s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
659s # {
659s # &_good_types_property_info_good_property_type.parent_struct,
659s # NULL
659s # };
659s #
659s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
659s # {
659s # {
659s # -1,
659s # (gchar *) "GoodTypes",
659s # NULL,
659s # NULL,
659s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
659s # NULL
659s # },
659s # "good-types",
659s # };
659s #
659s #
659s # /**
659s # * good_types_interface_info:
659s # *
659s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
659s # *
659s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
659s # */
659s # GDBusInterfaceInfo *
659s # good_types_interface_info (void)
659s # {
659s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
659s # }
659s #
659s # /**
659s # * good_types_override_properties:
659s # * @klass: The class structure for a #GObject derived class.
659s # * @property_id_begin: The property id to assign to the first overridden property.
659s # *
659s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
659s # * The properties are overridden in the order they are defined.
659s # *
659s # * Returns: The last property id.
659s # */
659s # guint
659s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
659s # {
659s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
659s # return property_id_begin - 1;
659s # }
659s #
659s #
659s #
659s # /**
659s # * GoodTypes:
659s # *
659s # * Abstract interface type for the D-Bus interface GoodTypes.
659s # */
659s #
659s # /**
659s # * GoodTypesIface:
659s # * @parent_iface: The parent interface.
659s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
659s # *
659s # * Virtual table for the D-Bus interface GoodTypes.
659s # */
659s #
659s # typedef GoodTypesIface GoodTypesInterface;
659s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
659s #
659s # static void
659s # good_types_default_init (GoodTypesIface *iface)
659s # {
659s # /* GObject properties for D-Bus properties: */
659s # /**
659s # * GoodTypes:good-property-type:
659s # *
659s # * Represents the D-Bus property "GoodPropertyType".
659s # *
659s # * 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.
659s # */
659s # g_object_interface_install_property (iface,
659s # 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));
659s # }
659s #
659s # /**
659s # * good_types_get_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # *
659s # * Gets the value of the "GoodPropertyType" D-Bus property.
659s # *
659s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
659s # *
659s # * 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.
659s # *
659s # * 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.
659s # */
659s # GVariant *
659s # good_types_get_good_property_type (GoodTypes *object)
659s # {
659s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
659s #
659s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
659s # }
659s #
659s # /**
659s # * good_types_dup_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # *
659s # * Gets a copy of the "GoodPropertyType" D-Bus property.
659s # *
659s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
659s # *
659s # * 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().
659s # */
659s # GVariant *
659s # good_types_dup_good_property_type (GoodTypes *object)
659s # {
659s # GVariant *value;
659s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
659s # return value;
659s # }
659s #
659s # /**
659s # * good_types_set_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # * @value: The value to set.
659s # *
659s # * Sets the "GoodPropertyType" D-Bus property to @value.
659s # *
659s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
659s # */
659s # void
659s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
659s # {
659s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
659s # }
659s #
659s # /* ------------------------------------------------------------------------ */
659s #
659s # /**
659s # * GoodTypesProxy:
659s # *
659s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
659s # */
659s #
659s # /**
659s # * GoodTypesProxyClass:
659s # * @parent_class: The parent class.
659s # *
659s # * Class structure for GoodTypesProxy.
659s # */
659s #
659s # struct _GoodTypesProxyPrivate
659s # {
659s # GData *qdata;
659s # };
659s #
659s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
659s # G_ADD_PRIVATE (GoodTypesProxy)
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
659s #
659s # #else
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
659s #
659s # #endif
659s # static void
659s # good_types_proxy_finalize (GObject *object)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
659s # g_datalist_clear (&proxy->priv->qdata);
659s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
659s # }
659s #
659s # static void
659s # good_types_proxy_get_property (GObject *object,
659s # guint prop_id,
659s # GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GVariant *variant;
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
659s # if (info->use_gvariant)
659s # {
659s # g_value_set_variant (value, variant);
659s # }
659s # else
659s # {
659s # if (variant != NULL)
659s # g_dbus_gvariant_to_gvalue (variant, value);
659s # }
659s # if (variant != NULL)
659s # g_variant_unref (variant);
659s # }
659s #
659s # static void
659s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
659s # GAsyncResult *res,
659s # gpointer user_data)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info = user_data;
659s # GError *error;
659s # GVariant *_ret;
659s # error = NULL;
659s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
659s # if (!_ret)
659s # {
659s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
659s # info->parent_struct.name,
659s # error->message, g_quark_to_string (error->domain), error->code);
659s # g_error_free (error);
659s # }
659s # else
659s # {
659s # g_variant_unref (_ret);
659s # }
659s # }
659s #
659s # static void
659s # good_types_proxy_set_property (GObject *object,
659s # guint prop_id,
659s # const GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GVariant *variant;
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
659s # g_dbus_proxy_call (G_DBUS_PROXY (object),
659s # "org.freedesktop.DBus.Properties.Set",
659s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
659s # G_DBUS_CALL_FLAGS_NONE,
659s # -1,
659s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
659s # g_variant_unref (variant);
659s # }
659s #
659s # static void
659s # good_types_proxy_g_signal (GDBusProxy *proxy,
659s # const gchar *sender_name G_GNUC_UNUSED,
659s # const gchar *signal_name,
659s # GVariant *parameters)
659s # {
659s # _ExtendedGDBusSignalInfo *info;
659s # GVariantIter iter;
659s # GVariant *child;
659s # GValue *paramv;
659s # gsize num_params;
659s # gsize n;
659s # guint signal_id;
659s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
659s # if (info == NULL)
659s # return;
659s # num_params = g_variant_n_children (parameters);
659s # paramv = g_new0 (GValue, num_params + 1);
659s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
659s # g_value_set_object (¶mv[0], proxy);
659s # g_variant_iter_init (&iter, parameters);
659s # n = 1;
659s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
659s # {
659s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
659s # if (arg_info->use_gvariant)
659s # {
659s # g_value_init (¶mv[n], G_TYPE_VARIANT);
659s # g_value_set_variant (¶mv[n], child);
659s # n++;
659s # }
659s # else
659s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
659s # g_variant_unref (child);
659s # }
659s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
659s # g_signal_emitv (paramv, signal_id, 0, NULL);
659s # for (n = 0; n < num_params + 1; n++)
659s # g_value_unset (¶mv[n]);
659s # g_free (paramv);
659s # }
659s #
659s # static void
659s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
659s # GVariant *changed_properties,
659s # const gchar *const *invalidated_properties)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
659s # guint n;
659s # const gchar *key;
659s # GVariantIter *iter;
659s # _ExtendedGDBusPropertyInfo *info;
659s # g_variant_get (changed_properties, "a{sv}", &iter);
659s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
659s # {
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
659s # g_datalist_remove_data (&proxy->priv->qdata, key);
659s # if (info != NULL)
659s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
659s # }
659s # g_variant_iter_free (iter);
659s # for (n = 0; invalidated_properties[n] != NULL; n++)
659s # {
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
659s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
659s # if (info != NULL)
659s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
659s # }
659s # }
659s #
659s # static GVariant *
659s # good_types_proxy_get_good_property_type (GoodTypes *object)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
659s # GVariant *variant;
659s # GVariant *value = NULL;
659s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
659s # value = variant;
659s # if (variant != NULL)
659s # g_variant_unref (variant);
659s # return value;
659s # }
659s #
659s # static void
659s # good_types_proxy_init (GoodTypesProxy *proxy)
659s # {
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # proxy->priv = good_types_proxy_get_instance_private (proxy);
659s # #else
659s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
659s # #endif
659s #
659s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
659s # }
659s #
659s # static void
659s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
659s # {
659s # GObjectClass *gobject_class;
659s # GDBusProxyClass *proxy_class;
659s #
659s # gobject_class = G_OBJECT_CLASS (klass);
659s # gobject_class->finalize = good_types_proxy_finalize;
659s # gobject_class->get_property = good_types_proxy_get_property;
659s # gobject_class->set_property = good_types_proxy_set_property;
659s #
659s # proxy_class = G_DBUS_PROXY_CLASS (klass);
659s # proxy_class->g_signal = good_types_proxy_g_signal;
659s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
659s #
659s # good_types_override_properties (gobject_class, 1);
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
659s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
659s # #endif
659s # }
659s #
659s # static void
659s # good_types_proxy_iface_init (GoodTypesIface *iface)
659s # {
659s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new:
659s # * @connection: A #GDBusConnection.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
659s # * @user_data: User data to pass to @callback.
659s # *
659s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
659s # *
659s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
659s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
659s # *
659s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
659s # */
659s # void
659s # good_types_proxy_new (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data)
659s # {
659s # 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);
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_finish:
659s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
659s # * @error: Return location for error or %NULL
659s # *
659s # * Finishes an operation started with good_types_proxy_new().
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_finish (
659s # GAsyncResult *res,
659s # GError **error)
659s # {
659s # GObject *ret;
659s # GObject *source_object;
659s # source_object = g_async_result_get_source_object (res);
659s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
659s # g_object_unref (source_object);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_sync:
659s # * @connection: A #GDBusConnection.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @error: Return location for error or %NULL
659s # *
659s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
659s # *
659s # * The calling thread is blocked until a reply is received.
659s # *
659s # * See good_types_proxy_new() for the asynchronous version of this constructor.
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_sync (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error)
659s # {
659s # GInitable *ret;
659s # 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);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s #
659s # /**
659s # * good_types_proxy_new_for_bus:
659s # * @bus_type: A #GBusType.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: A bus name (well-known or unique).
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
659s # * @user_data: User data to pass to @callback.
659s # *
659s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
659s # *
659s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
659s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
659s # *
659s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
659s # */
659s # void
659s # good_types_proxy_new_for_bus (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data)
659s # {
659s # 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);
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_for_bus_finish:
659s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
659s # * @error: Return location for error or %NULL
659s # *
659s # * Finishes an operation started with good_types_proxy_new_for_bus().
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_for_bus_finish (
659s # GAsyncResult *res,
659s # GError **error)
659s # {
659s # GObject *ret;
659s # GObject *source_object;
659s # source_object = g_async_result_get_source_object (res);
659s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
659s # g_object_unref (source_object);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_for_bus_sync:
659s # * @bus_type: A #GBusType.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: A bus name (well-known or unique).
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @error: Return location for error or %NULL
659s # *
659s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
659s # *
659s # * The calling thread is blocked until a reply is received.
659s # *
659s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_for_bus_sync (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error)
659s # {
659s # GInitable *ret;
659s # 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);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s #
659s # /* ------------------------------------------------------------------------ */
659s #
659s # /**
659s # * GoodTypesSkeleton:
659s # *
659s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
659s # */
659s #
659s # /**
659s # * GoodTypesSkeletonClass:
659s # * @parent_class: The parent class.
659s # *
659s # * Class structure for GoodTypesSkeleton.
659s # */
659s #
659s # struct _GoodTypesSkeletonPrivate
659s # {
659s # GValue *properties;
659s # GList *changed_properties;
659s # GSource *changed_properties_idle_source;
659s # GMainContext *context;
659s # GMutex lock;
659s # };
659s #
659s # static void
659s # _good_types_skeleton_handle_method_call (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name,
659s # const gchar *method_name,
659s # GVariant *parameters,
659s # GDBusMethodInvocation *invocation,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # _ExtendedGDBusMethodInfo *info;
659s # GVariantIter iter;
659s # GVariant *child;
659s # GValue *paramv;
659s # gsize num_params;
659s # guint num_extra;
659s # gsize n;
659s # guint signal_id;
659s # GValue return_value = G_VALUE_INIT;
659s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
659s # g_assert (info != NULL);
659s # num_params = g_variant_n_children (parameters);
659s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
659s # n = 0;
659s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
659s # g_value_set_object (¶mv[n++], skeleton);
659s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
659s # g_value_set_object (¶mv[n++], invocation);
659s # if (info->pass_fdlist)
659s # {
659s # #ifdef G_OS_UNIX
659s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
659s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
659s # #else
659s # g_assert_not_reached ();
659s # #endif
659s # }
659s # g_variant_iter_init (&iter, parameters);
659s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
659s # {
659s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
659s # if (arg_info->use_gvariant)
659s # {
659s # g_value_init (¶mv[n], G_TYPE_VARIANT);
659s # g_value_set_variant (¶mv[n], child);
659s # n++;
659s # }
659s # else
659s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
659s # g_variant_unref (child);
659s # }
659s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
659s # g_value_init (&return_value, G_TYPE_BOOLEAN);
659s # g_signal_emitv (paramv, signal_id, 0, &return_value);
659s # if (!g_value_get_boolean (&return_value))
659s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
659s # g_value_unset (&return_value);
659s # for (n = 0; n < num_params + num_extra; n++)
659s # g_value_unset (¶mv[n]);
659s # g_free (paramv);
659s # }
659s #
659s # static GVariant *
659s # _good_types_skeleton_handle_get_property (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name G_GNUC_UNUSED,
659s # const gchar *property_name,
659s # GError **error,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GValue value = G_VALUE_INIT;
659s # GParamSpec *pspec;
659s # _ExtendedGDBusPropertyInfo *info;
659s # GVariant *ret;
659s # ret = NULL;
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
659s # g_assert (info != NULL);
659s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
659s # if (pspec == NULL)
659s # {
659s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
659s # }
659s # else
659s # {
659s # g_value_init (&value, pspec->value_type);
659s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
659s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
659s # g_value_unset (&value);
659s # }
659s # return ret;
659s # }
659s #
659s # static gboolean
659s # _good_types_skeleton_handle_set_property (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name G_GNUC_UNUSED,
659s # const gchar *property_name,
659s # GVariant *variant,
659s # GError **error,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GValue value = G_VALUE_INIT;
659s # GParamSpec *pspec;
659s # _ExtendedGDBusPropertyInfo *info;
659s # gboolean ret;
659s # ret = FALSE;
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
659s # g_assert (info != NULL);
659s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
659s # if (pspec == NULL)
659s # {
659s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
659s # }
659s # else
659s # {
659s # if (info->use_gvariant)
659s # g_value_set_variant (&value, variant);
659s # else
659s # g_dbus_gvariant_to_gvalue (variant, &value);
659s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
659s # g_value_unset (&value);
659s # ret = TRUE;
659s # }
659s # return ret;
659s # }
659s #
659s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
659s # {
659s # _good_types_skeleton_handle_method_call,
659s # _good_types_skeleton_handle_get_property,
659s # _good_types_skeleton_handle_set_property,
659s # {NULL}
659s # };
659s #
659s # static GDBusInterfaceInfo *
659s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
659s # {
659s # return good_types_interface_info ();
659s # }
659s #
659s # static GDBusInterfaceVTable *
659s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
659s # {
659s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
659s # }
659s #
659s # static GVariant *
659s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
659s #
659s # GVariantBuilder builder;
659s # guint n;
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
659s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # #else
659s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
659s # #endif
659s # if (_good_types_interface_info.parent_struct.properties == NULL)
659s # goto out;
659s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
659s # {
659s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
659s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
659s # {
659s # GVariant *value;
659s # 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);
659s # if (value != NULL)
659s # {
659s # g_variant_take_ref (value);
659s # g_variant_builder_add (&builder, "{sv}", info->name, value);
659s # g_variant_unref (value);
659s # }
659s # }
659s # }
659s # out:
659s # return g_variant_builder_end (&builder);
659s # }
659s #
659s # static gboolean _good_types_emit_changed (gpointer user_data);
659s #
659s # static void
659s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
659s # gboolean emit_changed = FALSE;
659s #
659s # g_mutex_lock (&skeleton->priv->lock);
659s # if (skeleton->priv->changed_properties_idle_source != NULL)
659s # {
659s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
659s # skeleton->priv->changed_properties_idle_source = NULL;
659s # emit_changed = TRUE;
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s #
659s # if (emit_changed)
659s # _good_types_emit_changed (skeleton);
659s # }
659s #
659s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
659s # G_ADD_PRIVATE (GoodTypesSkeleton)
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
659s #
659s # #else
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
659s #
659s # #endif
659s # static void
659s # good_types_skeleton_finalize (GObject *object)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # guint n;
659s # for (n = 0; n < 1; n++)
659s # g_value_unset (&skeleton->priv->properties[n]);
659s # g_free (skeleton->priv->properties);
659s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
659s # if (skeleton->priv->changed_properties_idle_source != NULL)
659s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
659s # g_main_context_unref (skeleton->priv->context);
659s # g_mutex_clear (&skeleton->priv->lock);
659s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
659s # }
659s #
659s # static void
659s # good_types_skeleton_get_property (GObject *object,
659s # guint prop_id,
659s # GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # g_mutex_lock (&skeleton->priv->lock);
659s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # }
659s #
659s # static gboolean
659s # _good_types_emit_changed (gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GList *l;
659s # GVariantBuilder builder;
659s # GVariantBuilder invalidated_builder;
659s # guint num_changes;
659s #
659s # g_mutex_lock (&skeleton->priv->lock);
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
659s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
659s # #else
659s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
659s # #endif
659s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
659s # {
659s # ChangedProperty *cp = l->data;
659s # GVariant *variant;
659s # const GValue *cur_value;
659s #
659s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
659s # if (!_g_value_equal (cur_value, &cp->orig_value))
659s # {
659s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
659s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
659s # g_variant_unref (variant);
659s # num_changes++;
659s # }
659s # }
659s # if (num_changes > 0)
659s # {
659s # GList *connections, *ll;
659s # GVariant *signal_variant;
659s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
659s # &builder, &invalidated_builder));
659s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
659s # for (ll = connections; ll != NULL; ll = ll->next)
659s # {
659s # GDBusConnection *connection = ll->data;
659s #
659s # g_dbus_connection_emit_signal (connection,
659s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
659s # "org.freedesktop.DBus.Properties",
659s # "PropertiesChanged",
659s # signal_variant,
659s # NULL);
659s # }
659s # g_variant_unref (signal_variant);
659s # g_list_free_full (connections, g_object_unref);
659s # }
659s # else
659s # {
659s # g_variant_builder_clear (&builder);
659s # g_variant_builder_clear (&invalidated_builder);
659s # }
659s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
659s # skeleton->priv->changed_properties = NULL;
659s # skeleton->priv->changed_properties_idle_source = NULL;
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # return FALSE;
659s # }
659s #
659s # static void
659s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
659s # {
659s # ChangedProperty *cp;
659s # GList *l;
659s # cp = NULL;
659s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
659s # {
659s # ChangedProperty *i_cp = l->data;
659s # if (i_cp->info == info)
659s # {
659s # cp = i_cp;
659s # break;
659s # }
659s # }
659s # if (cp == NULL)
659s # {
659s # cp = g_new0 (ChangedProperty, 1);
659s # cp->prop_id = prop_id;
659s # cp->info = info;
659s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
659s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
659s # g_value_copy (orig_value, &cp->orig_value);
659s # }
659s # }
659s #
659s # static void
659s # good_types_skeleton_notify (GObject *object,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_mutex_lock (&skeleton->priv->lock);
659s # if (skeleton->priv->changed_properties != NULL &&
659s # skeleton->priv->changed_properties_idle_source == NULL)
659s # {
659s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
659s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
659s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
659s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
659s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
659s # g_source_unref (skeleton->priv->changed_properties_idle_source);
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # }
659s #
659s # static void
659s # good_types_skeleton_set_property (GObject *object,
659s # guint prop_id,
659s # const GValue *value,
659s # GParamSpec *pspec)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # g_mutex_lock (&skeleton->priv->lock);
659s # g_object_freeze_notify (object);
659s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
659s # {
659s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
659s # info->emits_changed_signal)
659s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
659s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
659s # g_object_notify_by_pspec (object, pspec);
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # g_object_thaw_notify (object);
659s # }
659s #
659s # static void
659s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
659s # {
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
659s # #else
659s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
659s # #endif
659s #
659s # g_mutex_init (&skeleton->priv->lock);
659s # skeleton->priv->context = g_main_context_ref_thread_default ();
659s # skeleton->priv->properties = g_new0 (GValue, 1);
659s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
659s # }
659s #
659s # static GVariant *
659s # good_types_skeleton_get_good_property_type (GoodTypes *object)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # GVariant *value;
659s # g_mutex_lock (&skeleton->priv->lock);
659s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # return value;
659s # }
659s #
659s # static void
659s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
659s # {
659s # GObjectClass *gobject_class;
659s # GDBusInterfaceSkeletonClass *skeleton_class;
659s #
659s # gobject_class = G_OBJECT_CLASS (klass);
659s # gobject_class->finalize = good_types_skeleton_finalize;
659s # gobject_class->get_property = good_types_skeleton_get_property;
659s # gobject_class->set_property = good_types_skeleton_set_property;
659s # gobject_class->notify = good_types_skeleton_notify;
659s #
659s #
659s # good_types_override_properties (gobject_class, 1);
659s #
659s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
659s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
659s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
659s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
659s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
659s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
659s # #endif
659s # }
659s #
659s # static void
659s # good_types_skeleton_iface_init (GoodTypesIface *iface)
659s # {
659s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
659s # }
659s #
659s # /**
659s # * good_types_skeleton_new:
659s # *
659s # * Creates a skeleton object for the D-Bus interface GoodTypes.
659s # *
659s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
659s # */
659s # GoodTypes *
659s # good_types_skeleton_new (void)
659s # {
659s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
659s # }
659s # Error:
659s #
659s # /tmp/tmpd5ezr3ms/tmpsak_10no.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpsak_10no.xml', '--output', '-', '--body']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifdef HAVE_CONFIG_H
659s # # include "config.h"
659s # #endif
659s #
659s # #include
659s # #ifdef G_OS_UNIX
659s # # include
659s # #endif
659s #
659s # #ifdef G_ENABLE_DEBUG
659s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
659s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
659s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
659s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
659s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
659s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
659s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
659s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
659s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
659s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
659s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
659s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
659s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
659s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
659s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
659s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
659s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
659s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
659s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
659s # #else /* !G_ENABLE_DEBUG */
659s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
659s # * Do not access GValues directly in your code. Instead, use the
659s # * g_value_get_*() functions
659s # */
659s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
659s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
659s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
659s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
659s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
659s # #endif /* !G_ENABLE_DEBUG */
659s #
659s # typedef struct
659s # {
659s # GDBusArgInfo parent_struct;
659s # gboolean use_gvariant;
659s # } _ExtendedGDBusArgInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusMethodInfo parent_struct;
659s # const gchar *signal_name;
659s # gboolean pass_fdlist;
659s # } _ExtendedGDBusMethodInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusSignalInfo parent_struct;
659s # const gchar *signal_name;
659s # } _ExtendedGDBusSignalInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusPropertyInfo parent_struct;
659s # const gchar *hyphen_name;
659s # guint use_gvariant : 1;
659s # guint emits_changed_signal : 1;
659s # } _ExtendedGDBusPropertyInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusInterfaceInfo parent_struct;
659s # const gchar *hyphen_name;
659s # } _ExtendedGDBusInterfaceInfo;
659s #
659s # typedef struct
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # guint prop_id;
659s # GValue orig_value; /* the value before the change */
659s # } ChangedProperty;
659s #
659s # static void
659s # _changed_property_free (ChangedProperty *data)
659s # {
659s # g_value_unset (&data->orig_value);
659s # g_free (data);
659s # }
659s #
659s # static gboolean
659s # _g_strv_equal0 (gchar **a, gchar **b)
659s # {
659s # gboolean ret = FALSE;
659s # guint n;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # if (g_strv_length (a) != g_strv_length (b))
659s # goto out;
659s # for (n = 0; a[n] != NULL; n++)
659s # if (g_strcmp0 (a[n], b[n]) != 0)
659s # goto out;
659s # ret = TRUE;
659s # out:
659s # return ret;
659s # }
659s #
659s # static gboolean
659s # _g_variant_equal0 (GVariant *a, GVariant *b)
659s # {
659s # gboolean ret = FALSE;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # ret = g_variant_equal (a, b);
659s # out:
659s # return ret;
659s # }
659s #
659s # G_GNUC_UNUSED static gboolean
659s # _g_value_equal (const GValue *a, const GValue *b)
659s # {
659s # gboolean ret = FALSE;
659s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
659s # switch (G_VALUE_TYPE (a))
659s # {
659s # case G_TYPE_BOOLEAN:
659s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
659s # break;
659s # case G_TYPE_UCHAR:
659s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
659s # break;
659s # case G_TYPE_INT:
659s # ret = (g_value_get_int (a) == g_value_get_int (b));
659s # break;
659s # case G_TYPE_UINT:
659s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
659s # break;
659s # case G_TYPE_INT64:
659s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
659s # break;
659s # case G_TYPE_UINT64:
659s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
659s # break;
659s # case G_TYPE_DOUBLE:
659s # {
659s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
659s # gdouble da = g_value_get_double (a);
659s # gdouble db = g_value_get_double (b);
659s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
659s # }
659s # break;
659s # case G_TYPE_STRING:
659s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
659s # break;
659s # case G_TYPE_VARIANT:
659s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
659s # break;
659s # default:
659s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
659s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
659s # else
659s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
659s # break;
659s # }
659s # return ret;
659s # }
659s #
659s # /* ------------------------------------------------------------------------
659s # * Code for interface GoodTypes
659s # * ------------------------------------------------------------------------
659s # */
659s #
659s # /**
659s # * SECTION:GoodTypes
659s # * @title: GoodTypes
659s # * @short_description: Generated C code for the GoodTypes D-Bus interface
659s # *
659s # * This section contains code for working with the GoodTypes D-Bus interface in C.
659s # */
659s #
659s # /* ---- Introspection data for GoodTypes ---- */
659s #
659s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
659s # {
659s # {
659s # -1,
659s # (gchar *) "GoodPropertyType",
659s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas",
659s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
659s # NULL
659s # },
659s # "good-property-type",
659s # FALSE,
659s # TRUE
659s # };
659s #
659s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
659s # {
659s # &_good_types_property_info_good_property_type.parent_struct,
659s # NULL
659s # };
659s #
659s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
659s # {
659s # {
659s # -1,
659s # (gchar *) "GoodTypes",
659s # NULL,
659s # NULL,
659s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
659s # NULL
659s # },
659s # "good-types",
659s # };
659s #
659s #
659s # /**
659s # * good_types_interface_info:
659s # *
659s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
659s # *
659s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
659s # */
659s # GDBusInterfaceInfo *
659s # good_types_interface_info (void)
659s # {
659s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
659s # }
659s #
659s # /**
659s # * good_types_override_properties:
659s # * @klass: The class structure for a #GObject derived class.
659s # * @property_id_begin: The property id to assign to the first overridden property.
659s # *
659s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
659s # * The properties are overridden in the order they are defined.
659s # *
659s # * Returns: The last property id.
659s # */
659s # guint
659s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
659s # {
659s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
659s # return property_id_begin - 1;
659s # }
659s #
659s #
659s #
659s # /**
659s # * GoodTypes:
659s # *
659s # * Abstract interface type for the D-Bus interface GoodTypes.
659s # */
659s #
659s # /**
659s # * GoodTypesIface:
659s # * @parent_iface: The parent interface.
659s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
659s # *
659s # * Virtual table for the D-Bus interface GoodTypes.
659s # */
659s #
659s # typedef GoodTypesIface GoodTypesInterface;
659s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
659s #
659s # static void
659s # good_types_default_init (GoodTypesIface *iface)
659s # {
659s # /* GObject properties for D-Bus properties: */
659s # /**
659s # * GoodTypes:good-property-type:
659s # *
659s # * Represents the D-Bus property "GoodPropertyType".
659s # *
659s # * 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.
659s # */
659s # g_object_interface_install_property (iface,
659s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
659s # }
659s #
659s # /**
659s # * good_types_get_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # *
659s # * Gets the value of the "GoodPropertyType" D-Bus property.
659s # *
659s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
659s # *
659s # * 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.
659s # *
659s # * 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.
659s # */
659s # GVariant *
659s # good_types_get_good_property_type (GoodTypes *object)
659s # {
659s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
659s #
659s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
659s # }
659s #
659s # /**
659s # * good_types_dup_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # *
659s # * Gets a copy of the "GoodPropertyType" D-Bus property.
659s # *
659s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
659s # *
659s # * 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().
659s # */
659s # GVariant *
659s # good_types_dup_good_property_type (GoodTypes *object)
659s # {
659s # GVariant *value;
659s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
659s # return value;
659s # }
659s #
659s # /**
659s # * good_types_set_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # * @value: The value to set.
659s # *
659s # * Sets the "GoodPropertyType" D-Bus property to @value.
659s # *
659s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
659s # */
659s # void
659s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
659s # {
659s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
659s # }
659s #
659s # /* ------------------------------------------------------------------------ */
659s #
659s # /**
659s # * GoodTypesProxy:
659s # *
659s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
659s # */
659s #
659s # /**
659s # * GoodTypesProxyClass:
659s # * @parent_class: The parent class.
659s # *
659s # * Class structure for GoodTypesProxy.
659s # */
659s #
659s # struct _GoodTypesProxyPrivate
659s # {
659s # GData *qdata;
659s # };
659s #
659s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
659s # G_ADD_PRIVATE (GoodTypesProxy)
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
659s #
659s # #else
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
659s #
659s # #endif
659s # static void
659s # good_types_proxy_finalize (GObject *object)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
659s # g_datalist_clear (&proxy->priv->qdata);
659s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
659s # }
659s #
659s # static void
659s # good_types_proxy_get_property (GObject *object,
659s # guint prop_id,
659s # GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GVariant *variant;
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
659s # if (info->use_gvariant)
659s # {
659s # g_value_set_variant (value, variant);
659s # }
659s # else
659s # {
659s # if (variant != NULL)
659s # g_dbus_gvariant_to_gvalue (variant, value);
659s # }
659s # if (variant != NULL)
659s # g_variant_unref (variant);
659s # }
659s #
659s # static void
659s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
659s # GAsyncResult *res,
659s # gpointer user_data)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info = user_data;
659s # GError *error;
659s # GVariant *_ret;
659s # error = NULL;
659s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
659s # if (!_ret)
659s # {
659s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
659s # info->parent_struct.name,
659s # error->message, g_quark_to_string (error->domain), error->code);
659s # g_error_free (error);
659s # }
659s # else
659s # {
659s # g_variant_unref (_ret);
659s # }
659s # }
659s #
659s # static void
659s # good_types_proxy_set_property (GObject *object,
659s # guint prop_id,
659s # const GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GVariant *variant;
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
659s # g_dbus_proxy_call (G_DBUS_PROXY (object),
659s # "org.freedesktop.DBus.Properties.Set",
659s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
659s # G_DBUS_CALL_FLAGS_NONE,
659s # -1,
659s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
659s # g_variant_unref (variant);
659s # }
659s #
659s # static void
659s # good_types_proxy_g_signal (GDBusProxy *proxy,
659s # const gchar *sender_name G_GNUC_UNUSED,
659s # const gchar *signal_name,
659s # GVariant *parameters)
659s # {
659s # _ExtendedGDBusSignalInfo *info;
659s # GVariantIter iter;
659s # GVariant *child;
659s # GValue *paramv;
659s # gsize num_params;
659s # gsize n;
659s # guint signal_id;
659s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
659s # if (info == NULL)
659s # return;
659s # num_params = g_variant_n_children (parameters);
659s # paramv = g_new0 (GValue, num_params + 1);
659s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
659s # g_value_set_object (¶mv[0], proxy);
659s # g_variant_iter_init (&iter, parameters);
659s # n = 1;
659s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
659s # {
659s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
659s # if (arg_info->use_gvariant)
659s # {
659s # g_value_init (¶mv[n], G_TYPE_VARIANT);
659s # g_value_set_variant (¶mv[n], child);
659s # n++;
659s # }
659s # else
659s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
659s # g_variant_unref (child);
659s # }
659s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
659s # g_signal_emitv (paramv, signal_id, 0, NULL);
659s # for (n = 0; n < num_params + 1; n++)
659s # g_value_unset (¶mv[n]);
659s # g_free (paramv);
659s # }
659s #
659s # static void
659s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
659s # GVariant *changed_properties,
659s # const gchar *const *invalidated_properties)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
659s # guint n;
659s # const gchar *key;
659s # GVariantIter *iter;
659s # _ExtendedGDBusPropertyInfo *info;
659s # g_variant_get (changed_properties, "a{sv}", &iter);
659s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
659s # {
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
659s # g_datalist_remove_data (&proxy->priv->qdata, key);
659s # if (info != NULL)
659s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
659s # }
659s # g_variant_iter_free (iter);
659s # for (n = 0; invalidated_properties[n] != NULL; n++)
659s # {
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
659s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
659s # if (info != NULL)
659s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
659s # }
659s # }
659s #
659s # static GVariant *
659s # good_types_proxy_get_good_property_type (GoodTypes *object)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
659s # GVariant *variant;
659s # GVariant *value = NULL;
659s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
659s # value = variant;
659s # if (variant != NULL)
659s # g_variant_unref (variant);
659s # return value;
659s # }
659s #
659s # static void
659s # good_types_proxy_init (GoodTypesProxy *proxy)
659s # {
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # proxy->priv = good_types_proxy_get_instance_private (proxy);
659s # #else
659s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
659s # #endif
659s #
659s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
659s # }
659s #
659s # static void
659s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
659s # {
659s # GObjectClass *gobject_class;
659s # GDBusProxyClass *proxy_class;
659s #
659s # gobject_class = G_OBJECT_CLASS (klass);
659s # gobject_class->finalize = good_types_proxy_finalize;
659s # gobject_class->get_property = good_types_proxy_get_property;
659s # gobject_class->set_property = good_types_proxy_set_property;
659s #
659s # proxy_class = G_DBUS_PROXY_CLASS (klass);
659s # proxy_class->g_signal = good_types_proxy_g_signal;
659s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
659s #
659s # good_types_override_properties (gobject_class, 1);
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
659s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
659s # #endif
659s # }
659s #
659s # static void
659s # good_types_proxy_iface_init (GoodTypesIface *iface)
659s # {
659s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new:
659s # * @connection: A #GDBusConnection.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
659s # * @user_data: User data to pass to @callback.
659s # *
659s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
659s # *
659s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
659s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
659s # *
659s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
659s # */
659s # void
659s # good_types_proxy_new (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data)
659s # {
659s # 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);
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_finish:
659s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
659s # * @error: Return location for error or %NULL
659s # *
659s # * Finishes an operation started with good_types_proxy_new().
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_finish (
659s # GAsyncResult *res,
659s # GError **error)
659s # {
659s # GObject *ret;
659s # GObject *source_object;
659s # source_object = g_async_result_get_source_object (res);
659s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
659s # g_object_unref (source_object);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_sync:
659s # * @connection: A #GDBusConnection.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @error: Return location for error or %NULL
659s # *
659s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
659s # *
659s # * The calling thread is blocked until a reply is received.
659s # *
659s # * See good_types_proxy_new() for the asynchronous version of this constructor.
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_sync (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error)
659s # {
659s # GInitable *ret;
659s # 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);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s #
659s # /**
659s # * good_types_proxy_new_for_bus:
659s # * @bus_type: A #GBusType.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: A bus name (well-known or unique).
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
659s # * @user_data: User data to pass to @callback.
659s # *
659s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
659s # *
659s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
659s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
659s # *
659s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
659s # */
659s # void
659s # good_types_proxy_new_for_bus (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data)
659s # {
659s # 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);
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_for_bus_finish:
659s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
659s # * @error: Return location for error or %NULL
659s # *
659s # * Finishes an operation started with good_types_proxy_new_for_bus().
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_for_bus_finish (
659s # GAsyncResult *res,
659s # GError **error)
659s # {
659s # GObject *ret;
659s # GObject *source_object;
659s # source_object = g_async_result_get_source_object (res);
659s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
659s # g_object_unref (source_object);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_for_bus_sync:
659s # * @bus_type: A #GBusType.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: A bus name (well-known or unique).
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @error: Return location for error or %NULL
659s # *
659s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
659s # *
659s # * The calling thread is blocked until a reply is received.
659s # *
659s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_for_bus_sync (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error)
659s # {
659s # GInitable *ret;
659s # 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);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s #
659s # /* ------------------------------------------------------------------------ */
659s #
659s # /**
659s # * GoodTypesSkeleton:
659s # *
659s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
659s # */
659s #
659s # /**
659s # * GoodTypesSkeletonClass:
659s # * @parent_class: The parent class.
659s # *
659s # * Class structure for GoodTypesSkeleton.
659s # */
659s #
659s # struct _GoodTypesSkeletonPrivate
659s # {
659s # GValue *properties;
659s # GList *changed_properties;
659s # GSource *changed_properties_idle_source;
659s # GMainContext *context;
659s # GMutex lock;
659s # };
659s #
659s # static void
659s # _good_types_skeleton_handle_method_call (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name,
659s # const gchar *method_name,
659s # GVariant *parameters,
659s # GDBusMethodInvocation *invocation,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # _ExtendedGDBusMethodInfo *info;
659s # GVariantIter iter;
659s # GVariant *child;
659s # GValue *paramv;
659s # gsize num_params;
659s # guint num_extra;
659s # gsize n;
659s # guint signal_id;
659s # GValue return_value = G_VALUE_INIT;
659s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
659s # g_assert (info != NULL);
659s # num_params = g_variant_n_children (parameters);
659s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
659s # n = 0;
659s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
659s # g_value_set_object (¶mv[n++], skeleton);
659s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
659s # g_value_set_object (¶mv[n++], invocation);
659s # if (info->pass_fdlist)
659s # {
659s # #ifdef G_OS_UNIX
659s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
659s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
659s # #else
659s # g_assert_not_reached ();
659s # #endif
659s # }
659s # g_variant_iter_init (&iter, parameters);
659s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
659s # {
659s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
659s # if (arg_info->use_gvariant)
659s # {
659s # g_value_init (¶mv[n], G_TYPE_VARIANT);
659s # g_value_set_variant (¶mv[n], child);
659s # n++;
659s # }
659s # else
659s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
659s # g_variant_unref (child);
659s # }
659s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
659s # g_value_init (&return_value, G_TYPE_BOOLEAN);
659s # g_signal_emitv (paramv, signal_id, 0, &return_value);
659s # if (!g_value_get_boolean (&return_value))
659s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
659s # g_value_unset (&return_value);
659s # for (n = 0; n < num_params + num_extra; n++)
659s # g_value_unset (¶mv[n]);
659s # g_free (paramv);
659s # }
659s #
659s # static GVariant *
659s # _good_types_skeleton_handle_get_property (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name G_GNUC_UNUSED,
659s # const gchar *property_name,
659s # GError **error,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GValue value = G_VALUE_INIT;
659s # GParamSpec *pspec;
659s # _ExtendedGDBusPropertyInfo *info;
659s # GVariant *ret;
659s # ret = NULL;
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
659s # g_assert (info != NULL);
659s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
659s # if (pspec == NULL)
659s # {
659s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
659s # }
659s # else
659s # {
659s # g_value_init (&value, pspec->value_type);
659s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
659s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
659s # g_value_unset (&value);
659s # }
659s # return ret;
659s # }
659s #
659s # static gboolean
659s # _good_types_skeleton_handle_set_property (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name G_GNUC_UNUSED,
659s # const gchar *property_name,
659s # GVariant *variant,
659s # GError **error,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GValue value = G_VALUE_INIT;
659s # GParamSpec *pspec;
659s # _ExtendedGDBusPropertyInfo *info;
659s # gboolean ret;
659s # ret = FALSE;
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
659s # g_assert (info != NULL);
659s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
659s # if (pspec == NULL)
659s # {
659s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
659s # }
659s # else
659s # {
659s # if (info->use_gvariant)
659s # g_value_set_variant (&value, variant);
659s # else
659s # g_dbus_gvariant_to_gvalue (variant, &value);
659s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
659s # g_value_unset (&value);
659s # ret = TRUE;
659s # }
659s # return ret;
659s # }
659s #
659s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
659s # {
659s # _good_types_skeleton_handle_method_call,
659s # _good_types_skeleton_handle_get_property,
659s # _good_types_skeleton_handle_set_property,
659s # {NULL}
659s # };
659s #
659s # static GDBusInterfaceInfo *
659s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
659s # {
659s # return good_types_interface_info ();
659s # }
659s #
659s # static GDBusInterfaceVTable *
659s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
659s # {
659s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
659s # }
659s #
659s # static GVariant *
659s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
659s #
659s # GVariantBuilder builder;
659s # guint n;
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
659s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # #else
659s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
659s # #endif
659s # if (_good_types_interface_info.parent_struct.properties == NULL)
659s # goto out;
659s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
659s # {
659s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
659s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
659s # {
659s # GVariant *value;
659s # 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);
659s # if (value != NULL)
659s # {
659s # g_variant_take_ref (value);
659s # g_variant_builder_add (&builder, "{sv}", info->name, value);
659s # g_variant_unref (value);
659s # }
659s # }
659s # }
659s # out:
659s # return g_variant_builder_end (&builder);
659s # }
659s #
659s # static gboolean _good_types_emit_changed (gpointer user_data);
659s #
659s # static void
659s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
659s # gboolean emit_changed = FALSE;
659s #
659s # g_mutex_lock (&skeleton->priv->lock);
659s # if (skeleton->priv->changed_properties_idle_source != NULL)
659s # {
659s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
659s # skeleton->priv->changed_properties_idle_source = NULL;
659s # emit_changed = TRUE;
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s #
659s # if (emit_changed)
659s # _good_types_emit_changed (skeleton);
659s # }
659s #
659s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
659s # G_ADD_PRIVATE (GoodTypesSkeleton)
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
659s #
659s # #else
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
659s #
659s # #endif
659s # static void
659s # good_types_skeleton_finalize (GObject *object)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # guint n;
659s # for (n = 0; n < 1; n++)
659s # g_value_unset (&skeleton->priv->properties[n]);
659s # g_free (skeleton->priv->properties);
659s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
659s # if (skeleton->priv->changed_properties_idle_source != NULL)
659s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
659s # g_main_context_unref (skeleton->priv->context);
659s # g_mutex_clear (&skeleton->priv->lock);
659s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
659s # }
659s #
659s # static void
659s # good_types_skeleton_get_property (GObject *object,
659s # guint prop_id,
659s # GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # g_mutex_lock (&skeleton->priv->lock);
659s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # }
659s #
659s # static gboolean
659s # _good_types_emit_changed (gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GList *l;
659s # GVariantBuilder builder;
659s # GVariantBuilder invalidated_builder;
659s # guint num_changes;
659s #
659s # g_mutex_lock (&skeleton->priv->lock);
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
659s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
659s # #else
659s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
659s # #endif
659s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
659s # {
659s # ChangedProperty *cp = l->data;
659s # GVariant *variant;
659s # const GValue *cur_value;
659s #
659s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
659s # if (!_g_value_equal (cur_value, &cp->orig_value))
659s # {
659s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
659s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
659s # g_variant_unref (variant);
659s # num_changes++;
659s # }
659s # }
659s # if (num_changes > 0)
659s # {
659s # GList *connections, *ll;
659s # GVariant *signal_variant;
659s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
659s # &builder, &invalidated_builder));
659s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
659s # for (ll = connections; ll != NULL; ll = ll->next)
659s # {
659s # GDBusConnection *connection = ll->data;
659s #
659s # g_dbus_connection_emit_signal (connection,
659s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
659s # "org.freedesktop.DBus.Properties",
659s # "PropertiesChanged",
659s # signal_variant,
659s # NULL);
659s # }
659s # g_variant_unref (signal_variant);
659s # g_list_free_full (connections, g_object_unref);
659s # }
659s # else
659s # {
659s # g_variant_builder_clear (&builder);
659s # g_variant_builder_clear (&invalidated_builder);
659s # }
659s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
659s # skeleton->priv->changed_properties = NULL;
659s # skeleton->priv->changed_properties_idle_source = NULL;
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # return FALSE;
659s # }
659s #
659s # static void
659s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
659s # {
659s # ChangedProperty *cp;
659s # GList *l;
659s # cp = NULL;
659s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
659s # {
659s # ChangedProperty *i_cp = l->data;
659s # if (i_cp->info == info)
659s # {
659s # cp = i_cp;
659s # break;
659s # }
659s # }
659s # if (cp == NULL)
659s # {
659s # cp = g_new0 (ChangedProperty, 1);
659s # cp->prop_id = prop_id;
659s # cp->info = info;
659s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
659s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
659s # g_value_copy (orig_value, &cp->orig_value);
659s # }
659s # }
659s #
659s # static void
659s # good_types_skeleton_notify (GObject *object,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_mutex_lock (&skeleton->priv->lock);
659s # if (skeleton->priv->changed_properties != NULL &&
659s # skeleton->priv->changed_properties_idle_source == NULL)
659s # {
659s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
659s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
659s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
659s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
659s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
659s # g_source_unref (skeleton->priv->changed_properties_idle_source);
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # }
659s #
659s # static void
659s # good_types_skeleton_set_property (GObject *object,
659s # guint prop_id,
659s # const GValue *value,
659s # GParamSpec *pspec)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # g_mutex_lock (&skeleton->priv->lock);
659s # g_object_freeze_notify (object);
659s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
659s # {
659s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
659s # info->emits_changed_signal)
659s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
659s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
659s # g_object_notify_by_pspec (object, pspec);
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # g_object_thaw_notify (object);
659s # }
659s #
659s # static void
659s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
659s # {
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
659s # #else
659s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
659s # #endif
659s #
659s # g_mutex_init (&skeleton->priv->lock);
659s # skeleton->priv->context = g_main_context_ref_thread_default ();
659s # skeleton->priv->properties = g_new0 (GValue, 1);
659s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
659s # }
659s #
659s # static GVariant *
659s # good_types_skeleton_get_good_property_type (GoodTypes *object)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # GVariant *value;
659s # g_mutex_lock (&skeleton->priv->lock);
659s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # return value;
659s # }
659s #
659s # static void
659s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
659s # {
659s # GObjectClass *gobject_class;
659s # GDBusInterfaceSkeletonClass *skeleton_class;
659s #
659s # gobject_class = G_OBJECT_CLASS (klass);
659s # gobject_class->finalize = good_types_skeleton_finalize;
659s # gobject_class->get_property = good_types_skeleton_get_property;
659s # gobject_class->set_property = good_types_skeleton_set_property;
659s # gobject_class->notify = good_types_skeleton_notify;
659s #
659s #
659s # good_types_override_properties (gobject_class, 1);
659s #
659s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
659s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
659s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
659s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
659s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
659s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
659s # #endif
659s # }
659s #
659s # static void
659s # good_types_skeleton_iface_init (GoodTypesIface *iface)
659s # {
659s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
659s # }
659s #
659s # /**
659s # * good_types_skeleton_new:
659s # *
659s # * Creates a skeleton object for the D-Bus interface GoodTypes.
659s # *
659s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
659s # */
659s # GoodTypes *
659s # good_types_skeleton_new (void)
659s # {
659s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
659s # }
659s # Error:
659s #
659s # /tmp/tmpd5ezr3ms/tmpdmp2ldr0.xml:
659s #
659s #
659s #
659s #
659s #
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5ezr3ms/tmpdmp2ldr0.xml', '--output', '-', '--body']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifdef HAVE_CONFIG_H
659s # # include "config.h"
659s # #endif
659s #
659s # #include
659s # #ifdef G_OS_UNIX
659s # # include
659s # #endif
659s #
659s # #ifdef G_ENABLE_DEBUG
659s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
659s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
659s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
659s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
659s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
659s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
659s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
659s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
659s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
659s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
659s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
659s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
659s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
659s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
659s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
659s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
659s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
659s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
659s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
659s # #else /* !G_ENABLE_DEBUG */
659s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
659s # * Do not access GValues directly in your code. Instead, use the
659s # * g_value_get_*() functions
659s # */
659s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
659s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
659s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
659s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
659s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
659s # #endif /* !G_ENABLE_DEBUG */
659s #
659s # typedef struct
659s # {
659s # GDBusArgInfo parent_struct;
659s # gboolean use_gvariant;
659s # } _ExtendedGDBusArgInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusMethodInfo parent_struct;
659s # const gchar *signal_name;
659s # gboolean pass_fdlist;
659s # } _ExtendedGDBusMethodInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusSignalInfo parent_struct;
659s # const gchar *signal_name;
659s # } _ExtendedGDBusSignalInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusPropertyInfo parent_struct;
659s # const gchar *hyphen_name;
659s # guint use_gvariant : 1;
659s # guint emits_changed_signal : 1;
659s # } _ExtendedGDBusPropertyInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusInterfaceInfo parent_struct;
659s # const gchar *hyphen_name;
659s # } _ExtendedGDBusInterfaceInfo;
659s #
659s # typedef struct
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # guint prop_id;
659s # GValue orig_value; /* the value before the change */
659s # } ChangedProperty;
659s #
659s # static void
659s # _changed_property_free (ChangedProperty *data)
659s # {
659s # g_value_unset (&data->orig_value);
659s # g_free (data);
659s # }
659s #
659s # static gboolean
659s # _g_strv_equal0 (gchar **a, gchar **b)
659s # {
659s # gboolean ret = FALSE;
659s # guint n;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # if (g_strv_length (a) != g_strv_length (b))
659s # goto out;
659s # for (n = 0; a[n] != NULL; n++)
659s # if (g_strcmp0 (a[n], b[n]) != 0)
659s # goto out;
659s # ret = TRUE;
659s # out:
659s # return ret;
659s # }
659s #
659s # static gboolean
659s # _g_variant_equal0 (GVariant *a, GVariant *b)
659s # {
659s # gboolean ret = FALSE;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # ret = g_variant_equal (a, b);
659s # out:
659s # return ret;
659s # }
659s #
659s # G_GNUC_UNUSED static gboolean
659s # _g_value_equal (const GValue *a, const GValue *b)
659s # {
659s # gboolean ret = FALSE;
659s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
659s # switch (G_VALUE_TYPE (a))
659s # {
659s # case G_TYPE_BOOLEAN:
659s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
659s # break;
659s # case G_TYPE_UCHAR:
659s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
659s # break;
659s # case G_TYPE_INT:
659s # ret = (g_value_get_int (a) == g_value_get_int (b));
659s # break;
659s # case G_TYPE_UINT:
659s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
659s # break;
659s # case G_TYPE_INT64:
659s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
659s # break;
659s # case G_TYPE_UINT64:
659s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
659s # break;
659s # case G_TYPE_DOUBLE:
659s # {
659s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
659s # gdouble da = g_value_get_double (a);
659s # gdouble db = g_value_get_double (b);
659s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
659s # }
659s # break;
659s # case G_TYPE_STRING:
659s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
659s # break;
659s # case G_TYPE_VARIANT:
659s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
659s # break;
659s # default:
659s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
659s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
659s # else
659s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
659s # break;
659s # }
659s # return ret;
659s # }
659s #
659s # /* ------------------------------------------------------------------------
659s # * Code for interface GoodTypes
659s # * ------------------------------------------------------------------------
659s # */
659s #
659s # /**
659s # * SECTION:GoodTypes
659s # * @title: GoodTypes
659s # * @short_description: Generated C code for the GoodTypes D-Bus interface
659s # *
659s # * This section contains code for working with the GoodTypes D-Bus interface in C.
659s # */
659s #
659s # /* ---- Introspection data for GoodTypes ---- */
659s #
659s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
659s # {
659s # {
659s # -1,
659s # (gchar *) "GoodPropertyType",
659s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})",
659s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
659s # NULL
659s # },
659s # "good-property-type",
659s # FALSE,
659s # TRUE
659s # };
659s #
659s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
659s # {
659s # &_good_types_property_info_good_property_type.parent_struct,
659s # NULL
659s # };
659s #
659s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
659s # {
659s # {
659s # -1,
659s # (gchar *) "GoodTypes",
659s # NULL,
659s # NULL,
659s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
659s # NULL
659s # },
659s # "good-types",
659s # };
659s #
659s #
659s # /**
659s # * good_types_interface_info:
659s # *
659s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
659s # *
659s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
659s # */
659s # GDBusInterfaceInfo *
659s # good_types_interface_info (void)
659s # {
659s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
659s # }
659s #
659s # /**
659s # * good_types_override_properties:
659s # * @klass: The class structure for a #GObject derived class.
659s # * @property_id_begin: The property id to assign to the first overridden property.
659s # *
659s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
659s # * The properties are overridden in the order they are defined.
659s # *
659s # * Returns: The last property id.
659s # */
659s # guint
659s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
659s # {
659s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
659s # return property_id_begin - 1;
659s # }
659s #
659s #
659s #
659s # /**
659s # * GoodTypes:
659s # *
659s # * Abstract interface type for the D-Bus interface GoodTypes.
659s # */
659s #
659s # /**
659s # * GoodTypesIface:
659s # * @parent_iface: The parent interface.
659s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
659s # *
659s # * Virtual table for the D-Bus interface GoodTypes.
659s # */
659s #
659s # typedef GoodTypesIface GoodTypesInterface;
659s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
659s #
659s # static void
659s # good_types_default_init (GoodTypesIface *iface)
659s # {
659s # /* GObject properties for D-Bus properties: */
659s # /**
659s # * GoodTypes:good-property-type:
659s # *
659s # * Represents the D-Bus property "GoodPropertyType".
659s # *
659s # * 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.
659s # */
659s # g_object_interface_install_property (iface,
659s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
659s # }
659s #
659s # /**
659s # * good_types_get_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # *
659s # * Gets the value of the "GoodPropertyType" D-Bus property.
659s # *
659s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
659s # *
659s # * 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.
659s # *
659s # * 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.
659s # */
659s # GVariant *
659s # good_types_get_good_property_type (GoodTypes *object)
659s # {
659s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
659s #
659s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
659s # }
659s #
659s # /**
659s # * good_types_dup_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # *
659s # * Gets a copy of the "GoodPropertyType" D-Bus property.
659s # *
659s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
659s # *
659s # * 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().
659s # */
659s # GVariant *
659s # good_types_dup_good_property_type (GoodTypes *object)
659s # {
659s # GVariant *value;
659s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
659s # return value;
659s # }
659s #
659s # /**
659s # * good_types_set_good_property_type: (skip)
659s # * @object: A GoodTypes.
659s # * @value: The value to set.
659s # *
659s # * Sets the "GoodPropertyType" D-Bus property to @value.
659s # *
659s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
659s # */
659s # void
659s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
659s # {
659s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
659s # }
659s #
659s # /* ------------------------------------------------------------------------ */
659s #
659s # /**
659s # * GoodTypesProxy:
659s # *
659s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
659s # */
659s #
659s # /**
659s # * GoodTypesProxyClass:
659s # * @parent_class: The parent class.
659s # *
659s # * Class structure for GoodTypesProxy.
659s # */
659s #
659s # struct _GoodTypesProxyPrivate
659s # {
659s # GData *qdata;
659s # };
659s #
659s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
659s # G_ADD_PRIVATE (GoodTypesProxy)
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
659s #
659s # #else
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
659s #
659s # #endif
659s # static void
659s # good_types_proxy_finalize (GObject *object)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
659s # g_datalist_clear (&proxy->priv->qdata);
659s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
659s # }
659s #
659s # static void
659s # good_types_proxy_get_property (GObject *object,
659s # guint prop_id,
659s # GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GVariant *variant;
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
659s # if (info->use_gvariant)
659s # {
659s # g_value_set_variant (value, variant);
659s # }
659s # else
659s # {
659s # if (variant != NULL)
659s # g_dbus_gvariant_to_gvalue (variant, value);
659s # }
659s # if (variant != NULL)
659s # g_variant_unref (variant);
659s # }
659s #
659s # static void
659s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
659s # GAsyncResult *res,
659s # gpointer user_data)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info = user_data;
659s # GError *error;
659s # GVariant *_ret;
659s # error = NULL;
659s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
659s # if (!_ret)
659s # {
659s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
659s # info->parent_struct.name,
659s # error->message, g_quark_to_string (error->domain), error->code);
659s # g_error_free (error);
659s # }
659s # else
659s # {
659s # g_variant_unref (_ret);
659s # }
659s # }
659s #
659s # static void
659s # good_types_proxy_set_property (GObject *object,
659s # guint prop_id,
659s # const GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GVariant *variant;
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
659s # g_dbus_proxy_call (G_DBUS_PROXY (object),
659s # "org.freedesktop.DBus.Properties.Set",
659s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
659s # G_DBUS_CALL_FLAGS_NONE,
659s # -1,
659s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
659s # g_variant_unref (variant);
659s # }
659s #
659s # static void
659s # good_types_proxy_g_signal (GDBusProxy *proxy,
659s # const gchar *sender_name G_GNUC_UNUSED,
659s # const gchar *signal_name,
659s # GVariant *parameters)
659s # {
659s # _ExtendedGDBusSignalInfo *info;
659s # GVariantIter iter;
659s # GVariant *child;
659s # GValue *paramv;
659s # gsize num_params;
659s # gsize n;
659s # guint signal_id;
659s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
659s # if (info == NULL)
659s # return;
659s # num_params = g_variant_n_children (parameters);
659s # paramv = g_new0 (GValue, num_params + 1);
659s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
659s # g_value_set_object (¶mv[0], proxy);
659s # g_variant_iter_init (&iter, parameters);
659s # n = 1;
659s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
659s # {
659s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
659s # if (arg_info->use_gvariant)
659s # {
659s # g_value_init (¶mv[n], G_TYPE_VARIANT);
659s # g_value_set_variant (¶mv[n], child);
659s # n++;
659s # }
659s # else
659s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
659s # g_variant_unref (child);
659s # }
659s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
659s # g_signal_emitv (paramv, signal_id, 0, NULL);
659s # for (n = 0; n < num_params + 1; n++)
659s # g_value_unset (¶mv[n]);
659s # g_free (paramv);
659s # }
659s #
659s # static void
659s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
659s # GVariant *changed_properties,
659s # const gchar *const *invalidated_properties)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
659s # guint n;
659s # const gchar *key;
659s # GVariantIter *iter;
659s # _ExtendedGDBusPropertyInfo *info;
659s # g_variant_get (changed_properties, "a{sv}", &iter);
659s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
659s # {
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
659s # g_datalist_remove_data (&proxy->priv->qdata, key);
659s # if (info != NULL)
659s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
659s # }
659s # g_variant_iter_free (iter);
659s # for (n = 0; invalidated_properties[n] != NULL; n++)
659s # {
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
659s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
659s # if (info != NULL)
659s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
659s # }
659s # }
659s #
659s # static GVariant *
659s # good_types_proxy_get_good_property_type (GoodTypes *object)
659s # {
659s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
659s # GVariant *variant;
659s # GVariant *value = NULL;
659s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
659s # value = variant;
659s # if (variant != NULL)
659s # g_variant_unref (variant);
659s # return value;
659s # }
659s #
659s # static void
659s # good_types_proxy_init (GoodTypesProxy *proxy)
659s # {
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # proxy->priv = good_types_proxy_get_instance_private (proxy);
659s # #else
659s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
659s # #endif
659s #
659s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
659s # }
659s #
659s # static void
659s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
659s # {
659s # GObjectClass *gobject_class;
659s # GDBusProxyClass *proxy_class;
659s #
659s # gobject_class = G_OBJECT_CLASS (klass);
659s # gobject_class->finalize = good_types_proxy_finalize;
659s # gobject_class->get_property = good_types_proxy_get_property;
659s # gobject_class->set_property = good_types_proxy_set_property;
659s #
659s # proxy_class = G_DBUS_PROXY_CLASS (klass);
659s # proxy_class->g_signal = good_types_proxy_g_signal;
659s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
659s #
659s # good_types_override_properties (gobject_class, 1);
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
659s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
659s # #endif
659s # }
659s #
659s # static void
659s # good_types_proxy_iface_init (GoodTypesIface *iface)
659s # {
659s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new:
659s # * @connection: A #GDBusConnection.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
659s # * @user_data: User data to pass to @callback.
659s # *
659s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
659s # *
659s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
659s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
659s # *
659s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
659s # */
659s # void
659s # good_types_proxy_new (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data)
659s # {
659s # 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);
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_finish:
659s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
659s # * @error: Return location for error or %NULL
659s # *
659s # * Finishes an operation started with good_types_proxy_new().
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_finish (
659s # GAsyncResult *res,
659s # GError **error)
659s # {
659s # GObject *ret;
659s # GObject *source_object;
659s # source_object = g_async_result_get_source_object (res);
659s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
659s # g_object_unref (source_object);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_sync:
659s # * @connection: A #GDBusConnection.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @error: Return location for error or %NULL
659s # *
659s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
659s # *
659s # * The calling thread is blocked until a reply is received.
659s # *
659s # * See good_types_proxy_new() for the asynchronous version of this constructor.
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_sync (
659s # GDBusConnection *connection,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error)
659s # {
659s # GInitable *ret;
659s # 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);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s #
659s # /**
659s # * good_types_proxy_new_for_bus:
659s # * @bus_type: A #GBusType.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: A bus name (well-known or unique).
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
659s # * @user_data: User data to pass to @callback.
659s # *
659s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
659s # *
659s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
659s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
659s # *
659s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
659s # */
659s # void
659s # good_types_proxy_new_for_bus (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GAsyncReadyCallback callback,
659s # gpointer user_data)
659s # {
659s # 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);
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_for_bus_finish:
659s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
659s # * @error: Return location for error or %NULL
659s # *
659s # * Finishes an operation started with good_types_proxy_new_for_bus().
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_for_bus_finish (
659s # GAsyncResult *res,
659s # GError **error)
659s # {
659s # GObject *ret;
659s # GObject *source_object;
659s # source_object = g_async_result_get_source_object (res);
659s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
659s # g_object_unref (source_object);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s # /**
659s # * good_types_proxy_new_for_bus_sync:
659s # * @bus_type: A #GBusType.
659s # * @flags: Flags from the #GDBusProxyFlags enumeration.
659s # * @name: A bus name (well-known or unique).
659s # * @object_path: An object path.
659s # * @cancellable: (nullable): A #GCancellable or %NULL.
659s # * @error: Return location for error or %NULL
659s # *
659s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
659s # *
659s # * The calling thread is blocked until a reply is received.
659s # *
659s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
659s # *
659s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
659s # */
659s # GoodTypes *
659s # good_types_proxy_new_for_bus_sync (
659s # GBusType bus_type,
659s # GDBusProxyFlags flags,
659s # const gchar *name,
659s # const gchar *object_path,
659s # GCancellable *cancellable,
659s # GError **error)
659s # {
659s # GInitable *ret;
659s # 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);
659s # if (ret != NULL)
659s # return GOOD_TYPES (ret);
659s # else
659s # return NULL;
659s # }
659s #
659s #
659s # /* ------------------------------------------------------------------------ */
659s #
659s # /**
659s # * GoodTypesSkeleton:
659s # *
659s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
659s # */
659s #
659s # /**
659s # * GoodTypesSkeletonClass:
659s # * @parent_class: The parent class.
659s # *
659s # * Class structure for GoodTypesSkeleton.
659s # */
659s #
659s # struct _GoodTypesSkeletonPrivate
659s # {
659s # GValue *properties;
659s # GList *changed_properties;
659s # GSource *changed_properties_idle_source;
659s # GMainContext *context;
659s # GMutex lock;
659s # };
659s #
659s # static void
659s # _good_types_skeleton_handle_method_call (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name,
659s # const gchar *method_name,
659s # GVariant *parameters,
659s # GDBusMethodInvocation *invocation,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # _ExtendedGDBusMethodInfo *info;
659s # GVariantIter iter;
659s # GVariant *child;
659s # GValue *paramv;
659s # gsize num_params;
659s # guint num_extra;
659s # gsize n;
659s # guint signal_id;
659s # GValue return_value = G_VALUE_INIT;
659s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
659s # g_assert (info != NULL);
659s # num_params = g_variant_n_children (parameters);
659s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
659s # n = 0;
659s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
659s # g_value_set_object (¶mv[n++], skeleton);
659s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
659s # g_value_set_object (¶mv[n++], invocation);
659s # if (info->pass_fdlist)
659s # {
659s # #ifdef G_OS_UNIX
659s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
659s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
659s # #else
659s # g_assert_not_reached ();
659s # #endif
659s # }
659s # g_variant_iter_init (&iter, parameters);
659s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
659s # {
659s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
659s # if (arg_info->use_gvariant)
659s # {
659s # g_value_init (¶mv[n], G_TYPE_VARIANT);
659s # g_value_set_variant (¶mv[n], child);
659s # n++;
659s # }
659s # else
659s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
659s # g_variant_unref (child);
659s # }
659s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
659s # g_value_init (&return_value, G_TYPE_BOOLEAN);
659s # g_signal_emitv (paramv, signal_id, 0, &return_value);
659s # if (!g_value_get_boolean (&return_value))
659s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
659s # g_value_unset (&return_value);
659s # for (n = 0; n < num_params + num_extra; n++)
659s # g_value_unset (¶mv[n]);
659s # g_free (paramv);
659s # }
659s #
659s # static GVariant *
659s # _good_types_skeleton_handle_get_property (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name G_GNUC_UNUSED,
659s # const gchar *property_name,
659s # GError **error,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GValue value = G_VALUE_INIT;
659s # GParamSpec *pspec;
659s # _ExtendedGDBusPropertyInfo *info;
659s # GVariant *ret;
659s # ret = NULL;
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
659s # g_assert (info != NULL);
659s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
659s # if (pspec == NULL)
659s # {
659s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
659s # }
659s # else
659s # {
659s # g_value_init (&value, pspec->value_type);
659s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
659s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
659s # g_value_unset (&value);
659s # }
659s # return ret;
659s # }
659s #
659s # static gboolean
659s # _good_types_skeleton_handle_set_property (
659s # GDBusConnection *connection G_GNUC_UNUSED,
659s # const gchar *sender G_GNUC_UNUSED,
659s # const gchar *object_path G_GNUC_UNUSED,
659s # const gchar *interface_name G_GNUC_UNUSED,
659s # const gchar *property_name,
659s # GVariant *variant,
659s # GError **error,
659s # gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GValue value = G_VALUE_INIT;
659s # GParamSpec *pspec;
659s # _ExtendedGDBusPropertyInfo *info;
659s # gboolean ret;
659s # ret = FALSE;
659s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
659s # g_assert (info != NULL);
659s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
659s # if (pspec == NULL)
659s # {
659s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
659s # }
659s # else
659s # {
659s # if (info->use_gvariant)
659s # g_value_set_variant (&value, variant);
659s # else
659s # g_dbus_gvariant_to_gvalue (variant, &value);
659s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
659s # g_value_unset (&value);
659s # ret = TRUE;
659s # }
659s # return ret;
659s # }
659s #
659s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
659s # {
659s # _good_types_skeleton_handle_method_call,
659s # _good_types_skeleton_handle_get_property,
659s # _good_types_skeleton_handle_set_property,
659s # {NULL}
659s # };
659s #
659s # static GDBusInterfaceInfo *
659s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
659s # {
659s # return good_types_interface_info ();
659s # }
659s #
659s # static GDBusInterfaceVTable *
659s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
659s # {
659s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
659s # }
659s #
659s # static GVariant *
659s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
659s #
659s # GVariantBuilder builder;
659s # guint n;
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
659s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # #else
659s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
659s # #endif
659s # if (_good_types_interface_info.parent_struct.properties == NULL)
659s # goto out;
659s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
659s # {
659s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
659s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
659s # {
659s # GVariant *value;
659s # 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);
659s # if (value != NULL)
659s # {
659s # g_variant_take_ref (value);
659s # g_variant_builder_add (&builder, "{sv}", info->name, value);
659s # g_variant_unref (value);
659s # }
659s # }
659s # }
659s # out:
659s # return g_variant_builder_end (&builder);
659s # }
659s #
659s # static gboolean _good_types_emit_changed (gpointer user_data);
659s #
659s # static void
659s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
659s # gboolean emit_changed = FALSE;
659s #
659s # g_mutex_lock (&skeleton->priv->lock);
659s # if (skeleton->priv->changed_properties_idle_source != NULL)
659s # {
659s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
659s # skeleton->priv->changed_properties_idle_source = NULL;
659s # emit_changed = TRUE;
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s #
659s # if (emit_changed)
659s # _good_types_emit_changed (skeleton);
659s # }
659s #
659s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
659s # G_ADD_PRIVATE (GoodTypesSkeleton)
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
659s #
659s # #else
659s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
659s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
659s #
659s # #endif
659s # static void
659s # good_types_skeleton_finalize (GObject *object)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # guint n;
659s # for (n = 0; n < 1; n++)
659s # g_value_unset (&skeleton->priv->properties[n]);
659s # g_free (skeleton->priv->properties);
659s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
659s # if (skeleton->priv->changed_properties_idle_source != NULL)
659s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
659s # g_main_context_unref (skeleton->priv->context);
659s # g_mutex_clear (&skeleton->priv->lock);
659s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
659s # }
659s #
659s # static void
659s # good_types_skeleton_get_property (GObject *object,
659s # guint prop_id,
659s # GValue *value,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # g_mutex_lock (&skeleton->priv->lock);
659s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # }
659s #
659s # static gboolean
659s # _good_types_emit_changed (gpointer user_data)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
659s # GList *l;
659s # GVariantBuilder builder;
659s # GVariantBuilder invalidated_builder;
659s # guint num_changes;
659s #
659s # g_mutex_lock (&skeleton->priv->lock);
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
659s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
659s # #else
659s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
659s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
659s # #endif
659s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
659s # {
659s # ChangedProperty *cp = l->data;
659s # GVariant *variant;
659s # const GValue *cur_value;
659s #
659s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
659s # if (!_g_value_equal (cur_value, &cp->orig_value))
659s # {
659s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
659s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
659s # g_variant_unref (variant);
659s # num_changes++;
659s # }
659s # }
659s # if (num_changes > 0)
659s # {
659s # GList *connections, *ll;
659s # GVariant *signal_variant;
659s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
659s # &builder, &invalidated_builder));
659s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
659s # for (ll = connections; ll != NULL; ll = ll->next)
659s # {
659s # GDBusConnection *connection = ll->data;
659s #
659s # g_dbus_connection_emit_signal (connection,
659s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
659s # "org.freedesktop.DBus.Properties",
659s # "PropertiesChanged",
659s # signal_variant,
659s # NULL);
659s # }
659s # g_variant_unref (signal_variant);
659s # g_list_free_full (connections, g_object_unref);
659s # }
659s # else
659s # {
659s # g_variant_builder_clear (&builder);
659s # g_variant_builder_clear (&invalidated_builder);
659s # }
659s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
659s # skeleton->priv->changed_properties = NULL;
659s # skeleton->priv->changed_properties_idle_source = NULL;
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # return FALSE;
659s # }
659s #
659s # static void
659s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
659s # {
659s # ChangedProperty *cp;
659s # GList *l;
659s # cp = NULL;
659s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
659s # {
659s # ChangedProperty *i_cp = l->data;
659s # if (i_cp->info == info)
659s # {
659s # cp = i_cp;
659s # break;
659s # }
659s # }
659s # if (cp == NULL)
659s # {
659s # cp = g_new0 (ChangedProperty, 1);
659s # cp->prop_id = prop_id;
659s # cp->info = info;
659s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
659s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
659s # g_value_copy (orig_value, &cp->orig_value);
659s # }
659s # }
659s #
659s # static void
659s # good_types_skeleton_notify (GObject *object,
659s # GParamSpec *pspec G_GNUC_UNUSED)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_mutex_lock (&skeleton->priv->lock);
659s # if (skeleton->priv->changed_properties != NULL &&
659s # skeleton->priv->changed_properties_idle_source == NULL)
659s # {
659s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
659s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
659s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
659s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
659s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
659s # g_source_unref (skeleton->priv->changed_properties_idle_source);
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # }
659s #
659s # static void
659s # good_types_skeleton_set_property (GObject *object,
659s # guint prop_id,
659s # const GValue *value,
659s # GParamSpec *pspec)
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # g_assert (prop_id != 0 && prop_id - 1 < 1);
659s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
659s # g_mutex_lock (&skeleton->priv->lock);
659s # g_object_freeze_notify (object);
659s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
659s # {
659s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
659s # info->emits_changed_signal)
659s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
659s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
659s # g_object_notify_by_pspec (object, pspec);
659s # }
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # g_object_thaw_notify (object);
659s # }
659s #
659s # static void
659s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
659s # {
659s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
659s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
659s # #else
659s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
659s # #endif
659s #
659s # g_mutex_init (&skeleton->priv->lock);
659s # skeleton->priv->context = g_main_context_ref_thread_default ();
659s # skeleton->priv->properties = g_new0 (GValue, 1);
659s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
659s # }
659s #
659s # static GVariant *
659s # good_types_skeleton_get_good_property_type (GoodTypes *object)
659s # {
659s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
659s # GVariant *value;
659s # g_mutex_lock (&skeleton->priv->lock);
659s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
659s # g_mutex_unlock (&skeleton->priv->lock);
659s # return value;
659s # }
659s #
659s # static void
659s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
659s # {
659s # GObjectClass *gobject_class;
659s # GDBusInterfaceSkeletonClass *skeleton_class;
659s #
659s # gobject_class = G_OBJECT_CLASS (klass);
659s # gobject_class->finalize = good_types_skeleton_finalize;
659s # gobject_class->get_property = good_types_skeleton_get_property;
659s # gobject_class->set_property = good_types_skeleton_set_property;
659s # gobject_class->notify = good_types_skeleton_notify;
659s #
659s #
659s # good_types_override_properties (gobject_class, 1);
659s #
659s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
659s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
659s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
659s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
659s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
659s #
659s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
659s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
659s # #endif
659s # }
659s #
659s # static void
659s # good_types_skeleton_iface_init (GoodTypesIface *iface)
659s # {
659s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
659s # }
659s #
659s # /**
659s # * good_types_skeleton_new:
659s # *
659s # * Creates a skeleton object for the D-Bus interface GoodTypes.
659s # *
659s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
659s # */
659s # GoodTypes *
659s # good_types_skeleton_new (void)
659s # {
659s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
659s # }
659s # Error:
659s ok 3 __main__.TestCodegen.test_empty_interface_body
659s # gdbus-codegen: /usr/bin/gdbus-codegen
659s # tmpdir: /tmp/tmpv1ecmhwo
659s # /tmp/tmpv1ecmhwo/tmphhljd3ty.xml:
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv1ecmhwo/tmphhljd3ty.xml', '--output', '-', '--body']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifdef HAVE_CONFIG_H
659s # # include "config.h"
659s # #endif
659s #
659s # #include
659s # #ifdef G_OS_UNIX
659s # # include
659s # #endif
659s #
659s # #ifdef G_ENABLE_DEBUG
659s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
659s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
659s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
659s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
659s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
659s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
659s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
659s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
659s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
659s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
659s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
659s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
659s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
659s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
659s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
659s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
659s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
659s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
659s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
659s # #else /* !G_ENABLE_DEBUG */
659s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
659s # * Do not access GValues directly in your code. Instead, use the
659s # * g_value_get_*() functions
659s # */
659s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
659s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
659s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
659s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
659s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
659s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
659s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
659s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
659s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
659s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
659s # #endif /* !G_ENABLE_DEBUG */
659s #
659s # typedef struct
659s # {
659s # GDBusArgInfo parent_struct;
659s # gboolean use_gvariant;
659s # } _ExtendedGDBusArgInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusMethodInfo parent_struct;
659s # const gchar *signal_name;
659s # gboolean pass_fdlist;
659s # } _ExtendedGDBusMethodInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusSignalInfo parent_struct;
659s # const gchar *signal_name;
659s # } _ExtendedGDBusSignalInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusPropertyInfo parent_struct;
659s # const gchar *hyphen_name;
659s # guint use_gvariant : 1;
659s # guint emits_changed_signal : 1;
659s # } _ExtendedGDBusPropertyInfo;
659s #
659s # typedef struct
659s # {
659s # GDBusInterfaceInfo parent_struct;
659s # const gchar *hyphen_name;
659s # } _ExtendedGDBusInterfaceInfo;
659s #
659s # typedef struct
659s # {
659s # const _ExtendedGDBusPropertyInfo *info;
659s # guint prop_id;
659s # GValue orig_value; /* the value before the change */
659s # } ChangedProperty;
659s #
659s # static void
659s # _changed_property_free (ChangedProperty *data)
659s # {
659s # g_value_unset (&data->orig_value);
659s # g_free (data);
659s # }
659s #
659s # static gboolean
659s # _g_strv_equal0 (gchar **a, gchar **b)
659s # {
659s # gboolean ret = FALSE;
659s # guint n;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # if (g_strv_length (a) != g_strv_length (b))
659s # goto out;
659s # for (n = 0; a[n] != NULL; n++)
659s # if (g_strcmp0 (a[n], b[n]) != 0)
659s # goto out;
659s # ret = TRUE;
659s # out:
659s # return ret;
659s # }
659s #
659s # static gboolean
659s # _g_variant_equal0 (GVariant *a, GVariant *b)
659s # {
659s # gboolean ret = FALSE;
659s # if (a == NULL && b == NULL)
659s # {
659s # ret = TRUE;
659s # goto out;
659s # }
659s # if (a == NULL || b == NULL)
659s # goto out;
659s # ret = g_variant_equal (a, b);
659s # out:
659s # return ret;
659s # }
659s #
659s # G_GNUC_UNUSED static gboolean
659s # _g_value_equal (const GValue *a, const GValue *b)
659s # {
659s # gboolean ret = FALSE;
659s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
659s # switch (G_VALUE_TYPE (a))
659s # {
659s # case G_TYPE_BOOLEAN:
659s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
659s # break;
659s # case G_TYPE_UCHAR:
659s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
659s # break;
659s # case G_TYPE_INT:
659s # ret = (g_value_get_int (a) == g_value_get_int (b));
659s # break;
659s # case G_TYPE_UINT:
659s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
659s # break;
659s # case G_TYPE_INT64:
659s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
659s # break;
659s # case G_TYPE_UINT64:
659s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
659s # break;
659s # case G_TYPE_DOUBLE:
659s # {
659s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
659s # gdouble da = g_value_get_double (a);
659s # gdouble db = g_value_get_double (b);
659s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
659s # }
659s # break;
659s # case G_TYPE_STRING:
659s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
659s # break;
659s # case G_TYPE_VARIANT:
659s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
659s # break;
659s # default:
659s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
659s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
659s # else
659s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
659s # break;
659s # }
659s # return ret;
659s # }
659s # Error:
659s ok 4 __main__.TestCodegen.test_empty_interface_header
659s # gdbus-codegen: /usr/bin/gdbus-codegen
659s # tmpdir: /tmp/tmp7yxb7mym
659s # /tmp/tmp7yxb7mym/tmpwwv494xa.xml:
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7yxb7mym/tmpwwv494xa.xml', '--output', '-', '--header']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifndef __STDOUT__
659s # #define __STDOUT__
659s #
659s # #include
659s #
659s # G_BEGIN_DECLS
659s #
659s #
659s # G_END_DECLS
659s #
659s # #endif /* __STDOUT__ */
659s # Error:
659s ok 5 __main__.TestCodegen.test_empty_interface_info_body
659s # gdbus-codegen: /usr/bin/gdbus-codegen
659s # tmpdir: /tmp/tmph4bnv572
659s # /tmp/tmph4bnv572/tmplwy3o6lb.xml:
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph4bnv572/tmplwy3o6lb.xml', '--output', '-', '--interface-info-body']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifdef HAVE_CONFIG_H
659s # # include "config.h"
659s # #endif
659s #
659s # #include
659s # Error:
659s ok 6 __main__.TestCodegen.test_empty_interface_info_header
659s # gdbus-codegen: /usr/bin/gdbus-codegen
659s # tmpdir: /tmp/tmpr3h1vr2u
659s # /tmp/tmpr3h1vr2u/tmpltw_h7ys.xml:
659s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr3h1vr2u/tmpltw_h7ys.xml', '--output', '-', '--interface-info-header']
659s # Return code: 0
659s # Output:
659s # /*
659s # * This file is generated by gdbus-codegen, do not modify it.
659s # *
659s # * The license of this code is the same as for the D-Bus interface description
659s # * it was derived from. Note that it links to GLib, so must comply with the
659s # * LGPL linking clauses.
659s # */
659s #
659s # #ifndef __STDOUT__
659s # #define __STDOUT__
659s #
659s # #include
659s #
659s # G_BEGIN_DECLS
659s #
659s #
659s # G_END_DECLS
659s #
659s # #endif /* __STDOUT__ */
659s # Error:
660s ok 7 __main__.TestCodegen.test_generate_docbook
660s # gdbus-codegen: /usr/bin/gdbus-codegen
660s # tmpdir: /tmp/tmp8wnd_d8g
660s # /tmp/tmp8wnd_d8g/tmpla58jikb.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8wnd_d8g/tmpla58jikb.xml', '--generate-docbook', 'test']
660s # Return code: 0
660s # Output:
660s #
660s # Error:
660s ok 8 __main__.TestCodegen.test_generate_md
660s # gdbus-codegen: /usr/bin/gdbus-codegen
660s # tmpdir: /tmp/tmptrlo80z8
660s # /tmp/tmptrlo80z8/tmpk55qb3g0.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptrlo80z8/tmpk55qb3g0.xml', '--generate-md', 'test']
660s # Return code: 0
660s # Output:
660s #
660s # Error:
660s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method
660s # gdbus-codegen: /usr/bin/gdbus-codegen
660s # tmpdir: /tmp/tmpomr6r1k5
660s # /tmp/tmpomr6r1k5/tmpgzqp1jf5.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpomr6r1k5/tmpgzqp1jf5.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 2);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.CallableIface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectCallableIface
660s # * @title: OrgProjectCallableIface
660s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.CallableIface ---- */
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SimpleMethod",
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "handle-simple-method",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
660s # {
660s # &_org_project_callable_iface_method_info_simple_method.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.CallableIface",
660s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-callable-iface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_callable_iface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_callable_iface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_callable_iface_method_marshal_simple_method (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectCallableIface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
660s # */
660s #
660s # /**
660s # * OrgProjectCallableIfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.CallableIface.
660s # */
660s #
660s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectCallableIface::handle-simple-method:
660s # * @object: A #OrgProjectCallableIface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # *
660s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-simple-method",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_callable_iface_method_marshal_simple_method,
660s # G_TYPE_BOOLEAN,
660s # 1,
660s # G_TYPE_DBUS_METHOD_INVOCATION);
660s #
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_call_simple_method:
660s # * @proxy: A #OrgProjectCallableIfaceProxy.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation.
660s # *
660s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_callable_iface_call_simple_method (
660s # OrgProjectCallableIface *proxy,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SimpleMethod",
660s # g_variant_new ("()"),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_call_simple_method_finish:
660s # * @proxy: A #OrgProjectCallableIfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_callable_iface_call_simple_method().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_callable_iface_call_simple_method_finish (
660s # OrgProjectCallableIface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_call_simple_method_sync:
660s # * @proxy: A #OrgProjectCallableIfaceProxy.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_callable_iface_call_simple_method_sync (
660s # OrgProjectCallableIface *proxy,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SimpleMethod",
660s # g_variant_new ("()"),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_complete_simple_method:
660s # * @object: A #OrgProjectCallableIface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_callable_iface_complete_simple_method (
660s # OrgProjectCallableIface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectCallableIfaceProxy:
660s # *
660s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectCallableIfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectCallableIfaceProxy.
660s # */
660s #
660s # struct _OrgProjectCallableIfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_callable_iface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
660s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
660s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_callable_iface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # 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);
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_callable_iface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectCallableIface *
660s # org_project_callable_iface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectCallableIface *
660s # org_project_callable_iface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_callable_iface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_callable_iface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # 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);
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectCallableIface *
660s # org_project_callable_iface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectCallableIface *
660s # org_project_callable_iface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectCallableIfaceSkeleton:
660s # *
660s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectCallableIfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectCallableIfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectCallableIfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_callable_iface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_callable_iface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_callable_iface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
660s # {
660s # _org_project_callable_iface_skeleton_handle_method_call,
660s # _org_project_callable_iface_skeleton_handle_get_property,
660s # _org_project_callable_iface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_callable_iface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_callable_iface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_callable_iface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectCallableIface *
660s # org_project_callable_iface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.OtherCallableIface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectOtherCallableIface
660s # * @title: OrgProjectOtherCallableIface
660s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SimpleMethod",
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "handle-simple-method",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
660s # {
660s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.OtherCallableIface",
660s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-other-callable-iface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_other_callable_iface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_other_callable_iface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_other_callable_iface_method_marshal_simple_method (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectOtherCallableIface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
660s # */
660s #
660s # /**
660s # * OrgProjectOtherCallableIfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
660s # */
660s #
660s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectOtherCallableIface::handle-simple-method:
660s # * @object: A #OrgProjectOtherCallableIface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # *
660s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-simple-method",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_other_callable_iface_method_marshal_simple_method,
660s # G_TYPE_BOOLEAN,
660s # 1,
660s # G_TYPE_DBUS_METHOD_INVOCATION);
660s #
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_call_simple_method:
660s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation.
660s # *
660s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_other_callable_iface_call_simple_method (
660s # OrgProjectOtherCallableIface *proxy,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SimpleMethod",
660s # g_variant_new ("()"),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_call_simple_method_finish:
660s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_other_callable_iface_call_simple_method_finish (
660s # OrgProjectOtherCallableIface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_call_simple_method_sync:
660s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_other_callable_iface_call_simple_method_sync (
660s # OrgProjectOtherCallableIface *proxy,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SimpleMethod",
660s # g_variant_new ("()"),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_complete_simple_method:
660s # * @object: A #OrgProjectOtherCallableIface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_other_callable_iface_complete_simple_method (
660s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectOtherCallableIfaceProxy:
660s # *
660s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectOtherCallableIfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
660s # */
660s #
660s # struct _OrgProjectOtherCallableIfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_other_callable_iface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
660s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
660s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_other_callable_iface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # 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);
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectOtherCallableIface *
660s # org_project_other_callable_iface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectOtherCallableIface *
660s # org_project_other_callable_iface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_other_callable_iface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_other_callable_iface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # 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);
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectOtherCallableIface *
660s # org_project_other_callable_iface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectOtherCallableIface *
660s # org_project_other_callable_iface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectOtherCallableIfaceSkeleton:
660s # *
660s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectOtherCallableIfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_other_callable_iface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_other_callable_iface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_other_callable_iface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
660s # {
660s # _org_project_other_callable_iface_skeleton_handle_method_call,
660s # _org_project_other_callable_iface_skeleton_handle_get_property,
660s # _org_project_other_callable_iface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_other_callable_iface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_other_callable_iface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectOtherCallableIface *
660s # org_project_other_callable_iface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
660s # }
660s # Error:
660s # Executing: glib/codegen.py.test
660s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args
660s # gdbus-codegen: /usr/bin/gdbus-codegen
660s # tmpdir: /tmp/tmptk28amgn
660s # /tmp/tmptk28amgn/tmpzsvg453q.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpzsvg453q.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # gboolean arg_arg_b,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_boolean (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_b",
660s # (gchar *) "b",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodB",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-b",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_b (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_b: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-b",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_b,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_b:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_b: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_b (
660s # OrgProjectUsefulInterface *proxy,
660s # gboolean arg_arg_b,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodB",
660s # g_variant_new ("(b)",
660s # arg_arg_b),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_b_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_b_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_b_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_b: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_b_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # gboolean arg_arg_b,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodB",
660s # g_variant_new ("(b)",
660s # arg_arg_b),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_b:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_b (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpnpcw5r44.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpnpcw5r44.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # guchar arg_arg_y,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_uchar (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_y",
660s # (gchar *) "y",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodY",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-y",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_y (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_y: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-y",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_y,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_y:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_y: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_y (
660s # OrgProjectUsefulInterface *proxy,
660s # guchar arg_arg_y,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodY",
660s # g_variant_new ("(y)",
660s # arg_arg_y),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_y_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_y_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_y_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_y: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_y_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # guchar arg_arg_y,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodY",
660s # g_variant_new ("(y)",
660s # arg_arg_y),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_y:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_y (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmp9y7ormnf.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmp9y7ormnf.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # gint16 arg_arg_n,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_int (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_n",
660s # (gchar *) "n",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodN",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-n",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_n (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_n: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-n",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_n,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_n:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_n: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_n (
660s # OrgProjectUsefulInterface *proxy,
660s # gint16 arg_arg_n,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodN",
660s # g_variant_new ("(n)",
660s # arg_arg_n),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_n_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_n_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_n_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_n: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_n_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # gint16 arg_arg_n,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodN",
660s # g_variant_new ("(n)",
660s # arg_arg_n),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_n:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_n (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmptbwwu4qt.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmptbwwu4qt.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # guint16 arg_arg_q,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_uint (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_q",
660s # (gchar *) "q",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodQ",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-q",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_q (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_q: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-q",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_q,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_q:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_q: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_q (
660s # OrgProjectUsefulInterface *proxy,
660s # guint16 arg_arg_q,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodQ",
660s # g_variant_new ("(q)",
660s # arg_arg_q),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_q_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_q_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_q_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_q: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_q_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # guint16 arg_arg_q,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodQ",
660s # g_variant_new ("(q)",
660s # arg_arg_q),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_q:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_q (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmps4zou2dl.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmps4zou2dl.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # gint arg_arg_i,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_int (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_i",
660s # (gchar *) "i",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodI",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-i",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_i (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_i: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-i",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_i,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_i:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_i: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_i (
660s # OrgProjectUsefulInterface *proxy,
660s # gint arg_arg_i,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodI",
660s # g_variant_new ("(i)",
660s # arg_arg_i),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_i_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_i_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_i_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_i: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_i_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # gint arg_arg_i,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodI",
660s # g_variant_new ("(i)",
660s # arg_arg_i),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_i:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_i (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmp7rvhk8nr.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmp7rvhk8nr.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # guint arg_arg_u,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_uint (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_u",
660s # (gchar *) "u",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodU",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-u",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_u (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_u: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-u",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_u,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_u:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_u: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_u (
660s # OrgProjectUsefulInterface *proxy,
660s # guint arg_arg_u,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodU",
660s # g_variant_new ("(u)",
660s # arg_arg_u),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_u_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_u_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_u_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_u: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_u_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # guint arg_arg_u,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodU",
660s # g_variant_new ("(u)",
660s # arg_arg_u),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_u:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_u (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmplf1320_3.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmplf1320_3.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # gint64 arg_arg_x,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_int64 (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_x",
660s # (gchar *) "x",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodX",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-x",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_x (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_x: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-x",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_x,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_x:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_x: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_x (
660s # OrgProjectUsefulInterface *proxy,
660s # gint64 arg_arg_x,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodX",
660s # g_variant_new ("(x)",
660s # arg_arg_x),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_x_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_x_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_x_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_x: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_x_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # gint64 arg_arg_x,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodX",
660s # g_variant_new ("(x)",
660s # arg_arg_x),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_x:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_x (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpzcfud96b.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpzcfud96b.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # guint64 arg_arg_t,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_uint64 (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_t",
660s # (gchar *) "t",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodT",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-t",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_t (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_t: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-t",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_t,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_t:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_t: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_t (
660s # OrgProjectUsefulInterface *proxy,
660s # guint64 arg_arg_t,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodT",
660s # g_variant_new ("(t)",
660s # arg_arg_t),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_t_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_t_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_t_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_t: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_t_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # guint64 arg_arg_t,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodT",
660s # g_variant_new ("(t)",
660s # arg_arg_t),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_t:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_t (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmp8u53loef.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmp8u53loef.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # gdouble arg_arg_d,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_double (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_d",
660s # (gchar *) "d",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodD",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-d",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_d (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_d: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-d",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_d,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_d:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_d: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_d (
660s # OrgProjectUsefulInterface *proxy,
660s # gdouble arg_arg_d,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodD",
660s # g_variant_new ("(d)",
660s # arg_arg_d),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_d_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_d_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_d_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_d: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_d_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # gdouble arg_arg_d,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodD",
660s # g_variant_new ("(d)",
660s # arg_arg_d),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_d:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_d (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpvuxk0hfx.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpvuxk0hfx.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # const gchar *arg_arg_s,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_string (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_s",
660s # (gchar *) "s",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodS",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-s",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_s (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_s: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-s",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_s,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_s:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_s: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_s (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_s,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodS",
660s # g_variant_new ("(s)",
660s # arg_arg_s),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_s_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_s_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_s_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_s: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_s_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_s,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodS",
660s # g_variant_new ("(s)",
660s # arg_arg_s),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_s:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_s (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmprnakn7nh.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmprnakn7nh.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # const gchar *arg_arg_o,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_string (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_o",
660s # (gchar *) "o",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodO",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-o",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_o (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_o: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-o",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_o,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_o:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_o: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_o (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_o,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodO",
660s # g_variant_new ("(o)",
660s # arg_arg_o),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_o_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_o_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_o_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_o: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_o_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_o,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodO",
660s # g_variant_new ("(o)",
660s # arg_arg_o),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_o:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_o (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpt5zbgj63.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpt5zbgj63.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # const gchar *arg_arg_g,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_string (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_g",
660s # (gchar *) "g",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodG",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-g",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_g (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_g: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-g",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_g,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_g:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_g: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_g (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_g,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodG",
660s # g_variant_new ("(g)",
660s # arg_arg_g),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_g_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_g_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_g_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_g: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_g_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_g,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodG",
660s # g_variant_new ("(g)",
660s # arg_arg_g),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_g:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_g (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmp9voi65mj.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmp9voi65mj.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # GVariant *arg_arg_h,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_variant (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_h",
660s # (gchar *) "h",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodH",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-h",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_h (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_h: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-h",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_h,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_h:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_h: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_h (
660s # OrgProjectUsefulInterface *proxy,
660s # GVariant *arg_arg_h,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodH",
660s # g_variant_new ("(@h)",
660s # arg_arg_h),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_h_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_h_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_h_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_h: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_h_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # GVariant *arg_arg_h,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodH",
660s # g_variant_new ("(@h)",
660s # arg_arg_h),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_h:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_h (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmptiz1l_wh.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmptiz1l_wh.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # const gchar *arg_arg_ay,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_string (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_ay",
660s # (gchar *) "ay",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodAy",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-ay",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_ay (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_ay: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-ay",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_ay,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_ay:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_ay: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_ay (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_ay,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAy",
660s # g_variant_new ("(^ay)",
660s # arg_arg_ay),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_ay_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_ay_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_ay_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_ay: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_ay_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *arg_arg_ay,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAy",
660s # g_variant_new ("(^ay)",
660s # arg_arg_ay),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_ay:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_ay (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpfpw91741.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpfpw91741.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # const gchar *const *arg_arg_as,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_boxed (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_as",
660s # (gchar *) "as",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodAs",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-as",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_as (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_as: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-as",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_as,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_as:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_as: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_as (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *const *arg_arg_as,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAs",
660s # g_variant_new ("(^as)",
660s # arg_arg_as),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_as_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_as_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_as_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_as: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_as_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *const *arg_arg_as,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAs",
660s # g_variant_new ("(^as)",
660s # arg_arg_as),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_as:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_as (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpp21pkaen.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpp21pkaen.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # const gchar *const *arg_arg_ao,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_boxed (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_ao",
660s # (gchar *) "ao",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodAo",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-ao",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_ao (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_ao: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-ao",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_ao,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_ao:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_ao: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_ao (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *const *arg_arg_ao,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAo",
660s # g_variant_new ("(^ao)",
660s # arg_arg_ao),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_ao_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_ao_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_ao_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_ao: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_ao_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *const *arg_arg_ao,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAo",
660s # g_variant_new ("(^ao)",
660s # arg_arg_ao),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_ao:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_ao (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpjrsok0ib.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpjrsok0ib.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # const gchar *const *arg_arg_aay,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_boxed (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_aay",
660s # (gchar *) "aay",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodAay",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-aay",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_aay (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_aay: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-aay",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_aay,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_aay:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_aay: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_aay (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *const *arg_arg_aay,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAay",
660s # g_variant_new ("(^aay)",
660s # arg_arg_aay),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_aay_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_aay_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_aay_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_aay: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_aay_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # const gchar *const *arg_arg_aay,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAay",
660s # g_variant_new ("(^aay)",
660s # arg_arg_aay),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_aay:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_aay (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
660s # guint n;
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
660s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #else
660s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
660s # #endif
660s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
660s # goto out;
660s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
660s # {
660s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
660s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
660s # {
660s # GVariant *value;
660s # 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);
660s # if (value != NULL)
660s # {
660s # g_variant_take_ref (value);
660s # g_variant_builder_add (&builder, "{sv}", info->name, value);
660s # g_variant_unref (value);
660s # }
660s # }
660s # }
660s # out:
660s # return g_variant_builder_end (&builder);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_skeleton_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
660s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
660s # if (skeleton->priv->changed_properties_idle_source != NULL)
660s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
660s # g_main_context_unref (skeleton->priv->context);
660s # g_mutex_clear (&skeleton->priv->lock);
660s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
660s # #else
660s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
660s # #endif
660s #
660s # g_mutex_init (&skeleton->priv->lock);
660s # skeleton->priv->context = g_main_context_ref_thread_default ();
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusInterfaceSkeletonClass *skeleton_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
660s #
660s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
660s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
660s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
660s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
660s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_skeleton_new:
660s # *
660s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_skeleton_new (void)
660s # {
660s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
660s # }
660s # Error:
660s #
660s # /tmp/tmptk28amgn/tmpl2yan6n2.xml:
660s #
660s #
660s #
660s #
660s #
660s #
660s #
660s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk28amgn/tmpl2yan6n2.xml', '--output', '-', '--body']
660s # Return code: 0
660s # Output:
660s # /*
660s # * This file is generated by gdbus-codegen, do not modify it.
660s # *
660s # * The license of this code is the same as for the D-Bus interface description
660s # * it was derived from. Note that it links to GLib, so must comply with the
660s # * LGPL linking clauses.
660s # */
660s #
660s # #ifdef HAVE_CONFIG_H
660s # # include "config.h"
660s # #endif
660s #
660s # #include
660s # #ifdef G_OS_UNIX
660s # # include
660s # #endif
660s #
660s # #ifdef G_ENABLE_DEBUG
660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
660s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
660s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
660s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
660s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
660s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
660s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
660s # #else /* !G_ENABLE_DEBUG */
660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
660s # * Do not access GValues directly in your code. Instead, use the
660s # * g_value_get_*() functions
660s # */
660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
660s # #endif /* !G_ENABLE_DEBUG */
660s #
660s # typedef struct
660s # {
660s # GDBusArgInfo parent_struct;
660s # gboolean use_gvariant;
660s # } _ExtendedGDBusArgInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusMethodInfo parent_struct;
660s # const gchar *signal_name;
660s # gboolean pass_fdlist;
660s # } _ExtendedGDBusMethodInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusSignalInfo parent_struct;
660s # const gchar *signal_name;
660s # } _ExtendedGDBusSignalInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusPropertyInfo parent_struct;
660s # const gchar *hyphen_name;
660s # guint use_gvariant : 1;
660s # guint emits_changed_signal : 1;
660s # } _ExtendedGDBusPropertyInfo;
660s #
660s # typedef struct
660s # {
660s # GDBusInterfaceInfo parent_struct;
660s # const gchar *hyphen_name;
660s # } _ExtendedGDBusInterfaceInfo;
660s #
660s # typedef struct
660s # {
660s # const _ExtendedGDBusPropertyInfo *info;
660s # guint prop_id;
660s # GValue orig_value; /* the value before the change */
660s # } ChangedProperty;
660s #
660s # static void
660s # _changed_property_free (ChangedProperty *data)
660s # {
660s # g_value_unset (&data->orig_value);
660s # g_free (data);
660s # }
660s #
660s # static gboolean
660s # _g_strv_equal0 (gchar **a, gchar **b)
660s # {
660s # gboolean ret = FALSE;
660s # guint n;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # if (g_strv_length (a) != g_strv_length (b))
660s # goto out;
660s # for (n = 0; a[n] != NULL; n++)
660s # if (g_strcmp0 (a[n], b[n]) != 0)
660s # goto out;
660s # ret = TRUE;
660s # out:
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _g_variant_equal0 (GVariant *a, GVariant *b)
660s # {
660s # gboolean ret = FALSE;
660s # if (a == NULL && b == NULL)
660s # {
660s # ret = TRUE;
660s # goto out;
660s # }
660s # if (a == NULL || b == NULL)
660s # goto out;
660s # ret = g_variant_equal (a, b);
660s # out:
660s # return ret;
660s # }
660s #
660s # G_GNUC_UNUSED static gboolean
660s # _g_value_equal (const GValue *a, const GValue *b)
660s # {
660s # gboolean ret = FALSE;
660s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
660s # switch (G_VALUE_TYPE (a))
660s # {
660s # case G_TYPE_BOOLEAN:
660s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
660s # break;
660s # case G_TYPE_UCHAR:
660s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
660s # break;
660s # case G_TYPE_INT:
660s # ret = (g_value_get_int (a) == g_value_get_int (b));
660s # break;
660s # case G_TYPE_UINT:
660s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
660s # break;
660s # case G_TYPE_INT64:
660s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
660s # break;
660s # case G_TYPE_UINT64:
660s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
660s # break;
660s # case G_TYPE_DOUBLE:
660s # {
660s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
660s # gdouble da = g_value_get_double (a);
660s # gdouble db = g_value_get_double (b);
660s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
660s # }
660s # break;
660s # case G_TYPE_STRING:
660s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
660s # break;
660s # case G_TYPE_VARIANT:
660s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
660s # break;
660s # default:
660s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
660s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
660s # else
660s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
660s # break;
660s # }
660s # return ret;
660s # }
660s #
660s # static void
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint G_GNUC_UNUSED,
660s # void *marshal_data)
660s # {
660s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
660s # (void *data1,
660s # GDBusMethodInvocation *arg_method_invocation,
660s # GVariant *arg_arg_asv,
660s # void *data2);
660s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
660s # GCClosure *cc = (GCClosure*) closure;
660s # void *data1, *data2;
660s # gboolean v_return;
660s #
660s # g_return_if_fail (return_value != NULL);
660s # g_return_if_fail (n_param_values == 3);
660s #
660s # if (G_CCLOSURE_SWAP_DATA (closure))
660s # {
660s # data1 = closure->data;
660s # data2 = g_value_peek_pointer (param_values + 0);
660s # }
660s # else
660s # {
660s # data1 = g_value_peek_pointer (param_values + 0);
660s # data2 = closure->data;
660s # }
660s #
660s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
660s # (marshal_data ? marshal_data : cc->callback);
660s #
660s # v_return =
660s # callback (data1,
660s # g_marshal_value_peek_object (param_values + 1),
660s # g_marshal_value_peek_variant (param_values + 2),
660s # data2);
660s #
660s # g_value_set_boolean (return_value, v_return);
660s # }
660s #
660s # /* ------------------------------------------------------------------------
660s # * Code for interface org.project.UsefulInterface
660s # * ------------------------------------------------------------------------
660s # */
660s #
660s # /**
660s # * SECTION:OrgProjectUsefulInterface
660s # * @title: OrgProjectUsefulInterface
660s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
660s # *
660s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
660s # */
660s #
660s # /* ---- Introspection data for org.project.UsefulInterface ---- */
660s #
660s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv =
660s # {
660s # {
660s # -1,
660s # (gchar *) "arg_asv",
660s # (gchar *) "a{sv}",
660s # NULL
660s # },
660s # FALSE
660s # };
660s #
660s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
660s # {
660s # {
660s # -1,
660s # (gchar *) "SingleArgMethodAsv",
660s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers,
660s # NULL,
660s # NULL
660s # },
660s # "handle-single-arg-method-asv",
660s # FALSE
660s # };
660s #
660s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
660s # {
660s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
660s # NULL
660s # };
660s #
660s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
660s # {
660s # {
660s # -1,
660s # (gchar *) "org.project.UsefulInterface",
660s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
660s # NULL,
660s # NULL,
660s # NULL
660s # },
660s # "org-project-useful-interface",
660s # };
660s #
660s #
660s # /**
660s # * org_project_useful_interface_interface_info:
660s # *
660s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
660s # *
660s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
660s # */
660s # GDBusInterfaceInfo *
660s # org_project_useful_interface_interface_info (void)
660s # {
660s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_override_properties:
660s # * @klass: The class structure for a #GObject derived class.
660s # * @property_id_begin: The property id to assign to the first overridden property.
660s # *
660s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
660s # * The properties are overridden in the order they are defined.
660s # *
660s # * Returns: The last property id.
660s # */
660s # guint
660s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
660s # {
660s # return property_id_begin - 1;
660s # }
660s #
660s #
660s # inline static void
660s # org_project_useful_interface_method_marshal_single_arg_method_asv (
660s # GClosure *closure,
660s # GValue *return_value,
660s # unsigned int n_param_values,
660s # const GValue *param_values,
660s # void *invocation_hint,
660s # void *marshal_data)
660s # {
660s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
660s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
660s # }
660s #
660s #
660s # /**
660s # * OrgProjectUsefulInterface:
660s # *
660s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceIface:
660s # * @parent_iface: The parent interface.
660s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
660s # *
660s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
660s # */
660s #
660s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
660s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
660s #
660s # static void
660s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
660s # {
660s # /* GObject signals for incoming D-Bus method calls: */
660s # /**
660s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: A #GDBusMethodInvocation.
660s # * @arg_arg_asv: Argument passed by remote caller.
660s # *
660s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
660s # *
660s # * 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.
660s # *
660s # * 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.
660s # */
660s # g_signal_new ("handle-single-arg-method-asv",
660s # G_TYPE_FROM_INTERFACE (iface),
660s # G_SIGNAL_RUN_LAST,
660s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
660s # g_signal_accumulator_true_handled,
660s # NULL,
660s # org_project_useful_interface_method_marshal_single_arg_method_asv,
660s # G_TYPE_BOOLEAN,
660s # 2,
660s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
660s #
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_asv:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_asv: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
660s # */
660s # void
660s # org_project_useful_interface_call_single_arg_method_asv (
660s # OrgProjectUsefulInterface *proxy,
660s # GVariant *arg_arg_asv,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAsv",
660s # g_variant_new ("(@a{sv})",
660s # arg_arg_asv),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # callback,
660s # user_data);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_asv_finish:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_asv_finish (
660s # OrgProjectUsefulInterface *proxy,
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_call_single_arg_method_asv_sync:
660s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
660s # * @arg_arg_asv: Argument to pass with the method invocation.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL.
660s # *
660s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
660s # *
660s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
660s # */
660s # gboolean
660s # org_project_useful_interface_call_single_arg_method_asv_sync (
660s # OrgProjectUsefulInterface *proxy,
660s # GVariant *arg_arg_asv,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GVariant *_ret;
660s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
660s # "SingleArgMethodAsv",
660s # g_variant_new ("(@a{sv})",
660s # arg_arg_asv),
660s # G_DBUS_CALL_FLAGS_NONE,
660s # -1,
660s # cancellable,
660s # error);
660s # if (_ret == NULL)
660s # goto _out;
660s # g_variant_get (_ret,
660s # "()");
660s # g_variant_unref (_ret);
660s # _out:
660s # return _ret != NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_complete_single_arg_method_asv:
660s # * @object: A #OrgProjectUsefulInterface.
660s # * @invocation: (transfer full): A #GDBusMethodInvocation.
660s # *
660s # * 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.
660s # *
660s # * This method will free @invocation, you cannot use it afterwards.
660s # */
660s # void
660s # org_project_useful_interface_complete_single_arg_method_asv (
660s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
660s # GDBusMethodInvocation *invocation)
660s # {
660s # g_dbus_method_invocation_return_value (invocation,
660s # g_variant_new ("()"));
660s # }
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxy:
660s # *
660s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceProxyClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceProxy.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceProxyPrivate
660s # {
660s # GData *qdata;
660s # };
660s #
660s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #else
660s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
660s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
660s #
660s # #endif
660s # static void
660s # org_project_useful_interface_proxy_finalize (GObject *object)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
660s # g_datalist_clear (&proxy->priv->qdata);
660s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
660s # guint prop_id G_GNUC_UNUSED,
660s # const GValue *value G_GNUC_UNUSED,
660s # GParamSpec *pspec G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
660s # const gchar *sender_name G_GNUC_UNUSED,
660s # const gchar *signal_name,
660s # GVariant *parameters)
660s # {
660s # _ExtendedGDBusSignalInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # gsize n;
660s # guint signal_id;
660s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
660s # if (info == NULL)
660s # return;
660s # num_params = g_variant_n_children (parameters);
660s # paramv = g_new0 (GValue, num_params + 1);
660s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[0], proxy);
660s # g_variant_iter_init (&iter, parameters);
660s # n = 1;
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_signal_emitv (paramv, signal_id, 0, NULL);
660s # for (n = 0; n < num_params + 1; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
660s # GVariant *changed_properties,
660s # const gchar *const *invalidated_properties)
660s # {
660s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
660s # guint n;
660s # const gchar *key;
660s # GVariantIter *iter;
660s # _ExtendedGDBusPropertyInfo *info;
660s # g_variant_get (changed_properties, "a{sv}", &iter);
660s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
660s # g_datalist_remove_data (&proxy->priv->qdata, key);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # g_variant_iter_free (iter);
660s # for (n = 0; invalidated_properties[n] != NULL; n++)
660s # {
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
660s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
660s # if (info != NULL)
660s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
660s # }
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
660s # {
660s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
660s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
660s # #else
660s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
660s # #endif
660s #
660s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
660s # {
660s # GObjectClass *gobject_class;
660s # GDBusProxyClass *proxy_class;
660s #
660s # gobject_class = G_OBJECT_CLASS (klass);
660s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
660s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
660s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
660s #
660s # proxy_class = G_DBUS_PROXY_CLASS (klass);
660s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
660s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
660s #
660s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
660s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
660s # #endif
660s # }
660s #
660s # static void
660s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
660s # {
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_sync:
660s # * @connection: A #GDBusConnection.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_sync (
660s # GDBusConnection *connection,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
660s # * @user_data: User data to pass to @callback.
660s # *
660s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
660s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
660s # */
660s # void
660s # org_project_useful_interface_proxy_new_for_bus (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GAsyncReadyCallback callback,
660s # gpointer user_data)
660s # {
660s # g_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);
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_finish:
660s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
660s # * @error: Return location for error or %NULL
660s # *
660s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_finish (
660s # GAsyncResult *res,
660s # GError **error)
660s # {
660s # GObject *ret;
660s # GObject *source_object;
660s # source_object = g_async_result_get_source_object (res);
660s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
660s # g_object_unref (source_object);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s # /**
660s # * org_project_useful_interface_proxy_new_for_bus_sync:
660s # * @bus_type: A #GBusType.
660s # * @flags: Flags from the #GDBusProxyFlags enumeration.
660s # * @name: A bus name (well-known or unique).
660s # * @object_path: An object path.
660s # * @cancellable: (nullable): A #GCancellable or %NULL.
660s # * @error: Return location for error or %NULL
660s # *
660s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
660s # *
660s # * The calling thread is blocked until a reply is received.
660s # *
660s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
660s # *
660s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
660s # */
660s # OrgProjectUsefulInterface *
660s # org_project_useful_interface_proxy_new_for_bus_sync (
660s # GBusType bus_type,
660s # GDBusProxyFlags flags,
660s # const gchar *name,
660s # const gchar *object_path,
660s # GCancellable *cancellable,
660s # GError **error)
660s # {
660s # GInitable *ret;
660s # 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);
660s # if (ret != NULL)
660s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
660s # else
660s # return NULL;
660s # }
660s #
660s #
660s # /* ------------------------------------------------------------------------ */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeleton:
660s # *
660s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
660s # */
660s #
660s # /**
660s # * OrgProjectUsefulInterfaceSkeletonClass:
660s # * @parent_class: The parent class.
660s # *
660s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
660s # */
660s #
660s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
660s # {
660s # GValue *properties;
660s # GList *changed_properties;
660s # GSource *changed_properties_idle_source;
660s # GMainContext *context;
660s # GMutex lock;
660s # };
660s #
660s # static void
660s # _org_project_useful_interface_skeleton_handle_method_call (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name,
660s # const gchar *method_name,
660s # GVariant *parameters,
660s # GDBusMethodInvocation *invocation,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # _ExtendedGDBusMethodInfo *info;
660s # GVariantIter iter;
660s # GVariant *child;
660s # GValue *paramv;
660s # gsize num_params;
660s # guint num_extra;
660s # gsize n;
660s # guint signal_id;
660s # GValue return_value = G_VALUE_INIT;
660s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
660s # g_assert (info != NULL);
660s # num_params = g_variant_n_children (parameters);
660s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
660s # n = 0;
660s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_set_object (¶mv[n++], skeleton);
660s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
660s # g_value_set_object (¶mv[n++], invocation);
660s # if (info->pass_fdlist)
660s # {
660s # #ifdef G_OS_UNIX
660s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
660s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
660s # #else
660s # g_assert_not_reached ();
660s # #endif
660s # }
660s # g_variant_iter_init (&iter, parameters);
660s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
660s # {
660s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
660s # if (arg_info->use_gvariant)
660s # {
660s # g_value_init (¶mv[n], G_TYPE_VARIANT);
660s # g_value_set_variant (¶mv[n], child);
660s # n++;
660s # }
660s # else
660s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
660s # g_variant_unref (child);
660s # }
660s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
660s # g_value_init (&return_value, G_TYPE_BOOLEAN);
660s # g_signal_emitv (paramv, signal_id, 0, &return_value);
660s # if (!g_value_get_boolean (&return_value))
660s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
660s # g_value_unset (&return_value);
660s # for (n = 0; n < num_params + num_extra; n++)
660s # g_value_unset (¶mv[n]);
660s # g_free (paramv);
660s # }
660s #
660s # static GVariant *
660s # _org_project_useful_interface_skeleton_handle_get_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # GVariant *ret;
660s # ret = NULL;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # g_value_init (&value, pspec->value_type);
660s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
660s # g_value_unset (&value);
660s # }
660s # return ret;
660s # }
660s #
660s # static gboolean
660s # _org_project_useful_interface_skeleton_handle_set_property (
660s # GDBusConnection *connection G_GNUC_UNUSED,
660s # const gchar *sender G_GNUC_UNUSED,
660s # const gchar *object_path G_GNUC_UNUSED,
660s # const gchar *interface_name G_GNUC_UNUSED,
660s # const gchar *property_name,
660s # GVariant *variant,
660s # GError **error,
660s # gpointer user_data)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
660s # GValue value = G_VALUE_INIT;
660s # GParamSpec *pspec;
660s # _ExtendedGDBusPropertyInfo *info;
660s # gboolean ret;
660s # ret = FALSE;
660s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
660s # g_assert (info != NULL);
660s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
660s # if (pspec == NULL)
660s # {
660s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
660s # }
660s # else
660s # {
660s # if (info->use_gvariant)
660s # g_value_set_variant (&value, variant);
660s # else
660s # g_dbus_gvariant_to_gvalue (variant, &value);
660s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
660s # g_value_unset (&value);
660s # ret = TRUE;
660s # }
660s # return ret;
660s # }
660s #
660s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
660s # {
660s # _org_project_useful_interface_skeleton_handle_method_call,
660s # _org_project_useful_interface_skeleton_handle_get_property,
660s # _org_project_useful_interface_skeleton_handle_set_property,
660s # {NULL}
660s # };
660s #
660s # static GDBusInterfaceInfo *
660s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return org_project_useful_interface_interface_info ();
660s # }
660s #
660s # static GDBusInterfaceVTable *
660s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
660s # {
660s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
660s # }
660s #
660s # static GVariant *
660s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
660s # {
660s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
660s #
660s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmp_wtmnynh
661s # /tmp/tmp_wtmnynh/tmpz5j99tuw.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpz5j99tuw.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_b",
661s # (gchar *) "b",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodB",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-b",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_b (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-b",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_b,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_b:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_b (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodB",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_b_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_b_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gboolean *out_arg_b,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(b)",
661s # out_arg_b);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_b_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_b_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gboolean *out_arg_b,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodB",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(b)",
661s # out_arg_b);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_b:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_b: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_b (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # gboolean arg_b)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(b)",
661s # arg_b));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmp8kujk63e.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmp8kujk63e.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_y",
661s # (gchar *) "y",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodY",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-y",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_y (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-y",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_y,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_y:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_y (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodY",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_y_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_y_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # guchar *out_arg_y,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(y)",
661s # out_arg_y);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_y_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_y_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # guchar *out_arg_y,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodY",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(y)",
661s # out_arg_y);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_y:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_y: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_y (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # guchar arg_y)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(y)",
661s # arg_y));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpk0v9shmh.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpk0v9shmh.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_n",
661s # (gchar *) "n",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodN",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-n",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_n (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-n",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_n,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_n:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_n (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodN",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_n_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_n_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gint16 *out_arg_n,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(n)",
661s # out_arg_n);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_n_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_n_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gint16 *out_arg_n,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodN",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(n)",
661s # out_arg_n);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_n:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_n: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_n (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # gint16 arg_n)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(n)",
661s # arg_n));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpuyq56wz_.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpuyq56wz_.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_q",
661s # (gchar *) "q",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodQ",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-q",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_q (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-q",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_q,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_q:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_q (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodQ",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_q_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_q_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # guint16 *out_arg_q,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(q)",
661s # out_arg_q);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_q_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_q_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # guint16 *out_arg_q,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodQ",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(q)",
661s # out_arg_q);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_q:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_q: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_q (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # guint16 arg_q)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(q)",
661s # arg_q));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpezkul0l3.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpezkul0l3.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_i",
661s # (gchar *) "i",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodI",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-i",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_i (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-i",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_i,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_i:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_i (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodI",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_i_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_i_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gint *out_arg_i,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(i)",
661s # out_arg_i);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_i_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_i_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gint *out_arg_i,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodI",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(i)",
661s # out_arg_i);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_i:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_i: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_i (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # gint arg_i)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(i)",
661s # arg_i));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpogunvoh4.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpogunvoh4.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_u",
661s # (gchar *) "u",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodU",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-u",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_u (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-u",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_u,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_u:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_u (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodU",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_u_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_u_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # guint *out_arg_u,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(u)",
661s # out_arg_u);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_u_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_u_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # guint *out_arg_u,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodU",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(u)",
661s # out_arg_u);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_u:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_u: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_u (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # guint arg_u)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(u)",
661s # arg_u));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmphd_0edg0.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmphd_0edg0.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_x",
661s # (gchar *) "x",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodX",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-x",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_x (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-x",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_x,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_x:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_x (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodX",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_x_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_x_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gint64 *out_arg_x,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(x)",
661s # out_arg_x);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_x_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_x_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gint64 *out_arg_x,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodX",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(x)",
661s # out_arg_x);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_x:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_x: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_x (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # gint64 arg_x)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(x)",
661s # arg_x));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpp9h_c3ki.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpp9h_c3ki.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_t",
661s # (gchar *) "t",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodT",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-t",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_t (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-t",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_t,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_t:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_t (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodT",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_t_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_t_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # guint64 *out_arg_t,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(t)",
661s # out_arg_t);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_t_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_t_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # guint64 *out_arg_t,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodT",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(t)",
661s # out_arg_t);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_t:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_t: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_t (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # guint64 arg_t)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(t)",
661s # arg_t));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpujv_8ux1.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpujv_8ux1.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_d",
661s # (gchar *) "d",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodD",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-d",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_d (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-d",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_d,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_d:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_d (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodD",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_d_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_d_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gdouble *out_arg_d,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(d)",
661s # out_arg_d);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_d_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_d_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gdouble *out_arg_d,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodD",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(d)",
661s # out_arg_d);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_d:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_d: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_d (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # gdouble arg_d)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(d)",
661s # arg_d));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpf_yxdmft.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpf_yxdmft.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_s",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodS",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-s",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_s (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-s",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_s,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_s:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_s (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodS",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_s_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_s_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_s,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(s)",
661s # out_arg_s);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_s_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_s_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_s,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodS",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(s)",
661s # out_arg_s);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_s:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_s: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_s (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # const gchar *arg_s)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(s)",
661s # arg_s));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpkjjj48r6.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpkjjj48r6.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_o",
661s # (gchar *) "o",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodO",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-o",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_o (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-o",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_o,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_o:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_o (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodO",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_o_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_o_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_o,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(o)",
661s # out_arg_o);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_o_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_o_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_o,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodO",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(o)",
661s # out_arg_o);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_o:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_o: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_o (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # const gchar *arg_o)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(o)",
661s # arg_o));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpnm23mjr9.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpnm23mjr9.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_g",
661s # (gchar *) "g",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodG",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-g",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_g (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-g",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_g,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_g:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_g (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodG",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_g_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_g_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_g,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(g)",
661s # out_arg_g);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_g_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_g_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_g,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodG",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(g)",
661s # out_arg_g);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_g:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_g: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_g (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # const gchar *arg_g)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(g)",
661s # arg_g));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmprrs8ba2q.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmprrs8ba2q.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_h",
661s # (gchar *) "h",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodH",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-h",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_h (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-h",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_h,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_h:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_h (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodH",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_h_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_h_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # GVariant **out_arg_h,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(@h)",
661s # out_arg_h);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_h_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_h_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # GVariant **out_arg_h,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodH",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(@h)",
661s # out_arg_h);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_h:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_h: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_h (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # GVariant *arg_h)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(@h)",
661s # arg_h));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpu7udv04p.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpu7udv04p.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_ay",
661s # (gchar *) "ay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodAy",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-ay",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_ay (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-ay",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_ay,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_ay:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_ay (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAy",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_ay_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_ay_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_ay,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^ay)",
661s # out_arg_ay);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_ay_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_ay_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar **out_arg_ay,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAy",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^ay)",
661s # out_arg_ay);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_ay:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_ay: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_ay (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # const gchar *arg_ay)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(^ay)",
661s # arg_ay));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpn0o98xnv.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpn0o98xnv.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_as",
661s # (gchar *) "as",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodAs",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-as",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_as (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-as",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_as,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_as:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_as (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAs",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_as_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_as_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar ***out_arg_as,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^as)",
661s # out_arg_as);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_as_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_as_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar ***out_arg_as,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAs",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^as)",
661s # out_arg_as);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_as:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_as: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_as (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # const gchar *const *arg_as)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(^as)",
661s # arg_as));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmp40_90xsw.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmp40_90xsw.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_ao",
661s # (gchar *) "ao",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodAo",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-ao",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_ao (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-ao",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_ao,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_ao:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_ao (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAo",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_ao_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_ao_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar ***out_arg_ao,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^ao)",
661s # out_arg_ao);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_ao_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_ao_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar ***out_arg_ao,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAo",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^ao)",
661s # out_arg_ao);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_ao:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_ao: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_ao (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # const gchar *const *arg_ao)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(^ao)",
661s # arg_ao));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmp0edi24m6.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmp0edi24m6.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_aay",
661s # (gchar *) "aay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodAay",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-aay",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_aay (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-aay",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_aay,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_aay:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_aay (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAay",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_aay_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_aay_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar ***out_arg_aay,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^aay)",
661s # out_arg_aay);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_aay_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_aay_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # gchar ***out_arg_aay,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAay",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(^aay)",
661s # out_arg_aay);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_aay:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_aay: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_aay (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # const gchar *const *arg_aay)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(^aay)",
661s # arg_aay));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s #
661s # /tmp/tmp_wtmnynh/tmpf4p3_blr.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_wtmnynh/tmpf4p3_blr.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "arg_asv",
661s # (gchar *) "a{sv}",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgMethodAsv",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-single-arg-method-asv",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_method_marshal_single_arg_method_asv (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-single-arg-method-asv",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_useful_interface_method_marshal_single_arg_method_asv,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_asv:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_useful_interface_call_single_arg_method_asv (
661s # OrgProjectUsefulInterface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAsv",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_asv_finish:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_asv_finish (
661s # OrgProjectUsefulInterface *proxy,
661s # GVariant **out_arg_asv,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(@a{sv})",
661s # out_arg_asv);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_call_single_arg_method_asv_sync:
661s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
661s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_useful_interface_call_single_arg_method_asv_sync (
661s # OrgProjectUsefulInterface *proxy,
661s # GVariant **out_arg_asv,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SingleArgMethodAsv",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(@a{sv})",
661s # out_arg_asv);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_complete_single_arg_method_asv:
661s # * @object: A #OrgProjectUsefulInterface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @arg_asv: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_useful_interface_complete_single_arg_method_asv (
661s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # GVariant *arg_asv)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(@a{sv})",
661s # arg_asv));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s # Error:
661s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmpl1vnjh2h
661s # /tmp/tmpl1vnjh2h/tmphirowe3i.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl1vnjh2h/tmphirowe3i.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 20);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # g_marshal_value_peek_boolean (param_values + 2),
661s # g_marshal_value_peek_uchar (param_values + 3),
661s # g_marshal_value_peek_int (param_values + 4),
661s # g_marshal_value_peek_uint (param_values + 5),
661s # g_marshal_value_peek_int (param_values + 6),
661s # g_marshal_value_peek_uint (param_values + 7),
661s # g_marshal_value_peek_int64 (param_values + 8),
661s # g_marshal_value_peek_uint64 (param_values + 9),
661s # g_marshal_value_peek_double (param_values + 10),
661s # g_marshal_value_peek_string (param_values + 11),
661s # g_marshal_value_peek_string (param_values + 12),
661s # g_marshal_value_peek_string (param_values + 13),
661s # g_marshal_value_peek_variant (param_values + 14),
661s # g_marshal_value_peek_string (param_values + 15),
661s # g_marshal_value_peek_boxed (param_values + 16),
661s # g_marshal_value_peek_boxed (param_values + 17),
661s # g_marshal_value_peek_boxed (param_values + 18),
661s # g_marshal_value_peek_variant (param_values + 19),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.CallableIface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectCallableIface
661s # * @title: OrgProjectCallableIface
661s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.CallableIface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_b",
661s # (gchar *) "b",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_y",
661s # (gchar *) "y",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_n",
661s # (gchar *) "n",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_q",
661s # (gchar *) "q",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_i",
661s # (gchar *) "i",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_u",
661s # (gchar *) "u",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_x",
661s # (gchar *) "x",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_t",
661s # (gchar *) "t",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_d",
661s # (gchar *) "d",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_s",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_o",
661s # (gchar *) "o",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_g",
661s # (gchar *) "g",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_h",
661s # (gchar *) "h",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ay",
661s # (gchar *) "ay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_as",
661s # (gchar *) "as",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ao",
661s # (gchar *) "ao",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_aay",
661s # (gchar *) "aay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_asv",
661s # (gchar *) "a{sv}",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
661s # {
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
661s # {
661s # {
661s # -1,
661s # (gchar *) "MethodWithManyArgs",
661s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
661s # NULL,
661s # NULL
661s # },
661s # "handle-method-with-many-args",
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_b",
661s # (gchar *) "b",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_y",
661s # (gchar *) "y",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_n",
661s # (gchar *) "n",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_q",
661s # (gchar *) "q",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_i",
661s # (gchar *) "i",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_u",
661s # (gchar *) "u",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_x",
661s # (gchar *) "x",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_t",
661s # (gchar *) "t",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_d",
661s # (gchar *) "d",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_s",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_o",
661s # (gchar *) "o",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_g",
661s # (gchar *) "g",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_h",
661s # (gchar *) "h",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ay",
661s # (gchar *) "ay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_as",
661s # (gchar *) "as",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ao",
661s # (gchar *) "ao",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_aay",
661s # (gchar *) "aay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_asv",
661s # (gchar *) "a{sv}",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] =
661s # {
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SameMethodWithManyArgs",
661s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers,
661s # NULL,
661s # NULL
661s # },
661s # "handle-same-method-with-many-args",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
661s # {
661s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
661s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.CallableIface",
661s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-callable-iface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_callable_iface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_callable_iface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_callable_iface_method_marshal_method_with_many_args (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _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,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_callable_iface_method_marshal_same_method_with_many_args (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _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,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectCallableIface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
661s # */
661s #
661s # /**
661s # * OrgProjectCallableIfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
661s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.CallableIface.
661s # */
661s #
661s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectCallableIface::handle-method-with-many-args:
661s # * @object: A #OrgProjectCallableIface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # * @arg_an_b: Argument passed by remote caller.
661s # * @arg_an_y: Argument passed by remote caller.
661s # * @arg_an_n: Argument passed by remote caller.
661s # * @arg_an_q: Argument passed by remote caller.
661s # * @arg_an_i: Argument passed by remote caller.
661s # * @arg_an_u: Argument passed by remote caller.
661s # * @arg_an_x: Argument passed by remote caller.
661s # * @arg_an_t: Argument passed by remote caller.
661s # * @arg_an_d: Argument passed by remote caller.
661s # * @arg_an_s: Argument passed by remote caller.
661s # * @arg_an_o: Argument passed by remote caller.
661s # * @arg_an_g: Argument passed by remote caller.
661s # * @arg_an_h: Argument passed by remote caller.
661s # * @arg_an_ay: Argument passed by remote caller.
661s # * @arg_an_as: Argument passed by remote caller.
661s # * @arg_an_ao: Argument passed by remote caller.
661s # * @arg_an_aay: Argument passed by remote caller.
661s # * @arg_an_asv: Argument passed by remote caller.
661s # *
661s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-method-with-many-args",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_callable_iface_method_marshal_method_with_many_args,
661s # G_TYPE_BOOLEAN,
661s # 19,
661s # 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);
661s #
661s # /**
661s # * OrgProjectCallableIface::handle-same-method-with-many-args:
661s # * @object: A #OrgProjectCallableIface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # * @arg_an_b: Argument passed by remote caller.
661s # * @arg_an_y: Argument passed by remote caller.
661s # * @arg_an_n: Argument passed by remote caller.
661s # * @arg_an_q: Argument passed by remote caller.
661s # * @arg_an_i: Argument passed by remote caller.
661s # * @arg_an_u: Argument passed by remote caller.
661s # * @arg_an_x: Argument passed by remote caller.
661s # * @arg_an_t: Argument passed by remote caller.
661s # * @arg_an_d: Argument passed by remote caller.
661s # * @arg_an_s: Argument passed by remote caller.
661s # * @arg_an_o: Argument passed by remote caller.
661s # * @arg_an_g: Argument passed by remote caller.
661s # * @arg_an_h: Argument passed by remote caller.
661s # * @arg_an_ay: Argument passed by remote caller.
661s # * @arg_an_as: Argument passed by remote caller.
661s # * @arg_an_ao: Argument passed by remote caller.
661s # * @arg_an_aay: Argument passed by remote caller.
661s # * @arg_an_asv: Argument passed by remote caller.
661s # *
661s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-same-method-with-many-args",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_callable_iface_method_marshal_same_method_with_many_args,
661s # G_TYPE_BOOLEAN,
661s # 19,
661s # 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);
661s #
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_method_with_many_args:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @arg_an_b: Argument to pass with the method invocation.
661s # * @arg_an_y: Argument to pass with the method invocation.
661s # * @arg_an_n: Argument to pass with the method invocation.
661s # * @arg_an_q: Argument to pass with the method invocation.
661s # * @arg_an_i: Argument to pass with the method invocation.
661s # * @arg_an_u: Argument to pass with the method invocation.
661s # * @arg_an_x: Argument to pass with the method invocation.
661s # * @arg_an_t: Argument to pass with the method invocation.
661s # * @arg_an_d: Argument to pass with the method invocation.
661s # * @arg_an_s: Argument to pass with the method invocation.
661s # * @arg_an_o: Argument to pass with the method invocation.
661s # * @arg_an_g: Argument to pass with the method invocation.
661s # * @arg_an_h: Argument to pass with the method invocation.
661s # * @arg_an_ay: Argument to pass with the method invocation.
661s # * @arg_an_as: Argument to pass with the method invocation.
661s # * @arg_an_ao: Argument to pass with the method invocation.
661s # * @arg_an_aay: Argument to pass with the method invocation.
661s # * @arg_an_asv: Argument to pass with the method invocation.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
661s # *
661s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_callable_iface_call_method_with_many_args (
661s # OrgProjectCallableIface *proxy,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "MethodWithManyArgs",
661s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # arg_an_b,
661s # arg_an_y,
661s # arg_an_n,
661s # arg_an_q,
661s # arg_an_i,
661s # arg_an_u,
661s # arg_an_x,
661s # arg_an_t,
661s # arg_an_d,
661s # arg_an_s,
661s # arg_an_o,
661s # arg_an_g,
661s # arg_an_h,
661s # arg_an_ay,
661s # arg_an_as,
661s # arg_an_ao,
661s # arg_an_aay,
661s # arg_an_asv),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_method_with_many_args_finish:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_callable_iface_call_method_with_many_args_finish (
661s # OrgProjectCallableIface *proxy,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "()");
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_method_with_many_args_sync:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @arg_an_b: Argument to pass with the method invocation.
661s # * @arg_an_y: Argument to pass with the method invocation.
661s # * @arg_an_n: Argument to pass with the method invocation.
661s # * @arg_an_q: Argument to pass with the method invocation.
661s # * @arg_an_i: Argument to pass with the method invocation.
661s # * @arg_an_u: Argument to pass with the method invocation.
661s # * @arg_an_x: Argument to pass with the method invocation.
661s # * @arg_an_t: Argument to pass with the method invocation.
661s # * @arg_an_d: Argument to pass with the method invocation.
661s # * @arg_an_s: Argument to pass with the method invocation.
661s # * @arg_an_o: Argument to pass with the method invocation.
661s # * @arg_an_g: Argument to pass with the method invocation.
661s # * @arg_an_h: Argument to pass with the method invocation.
661s # * @arg_an_ay: Argument to pass with the method invocation.
661s # * @arg_an_as: Argument to pass with the method invocation.
661s # * @arg_an_ao: Argument to pass with the method invocation.
661s # * @arg_an_aay: Argument to pass with the method invocation.
661s # * @arg_an_asv: Argument to pass with the method invocation.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_callable_iface_call_method_with_many_args_sync (
661s # OrgProjectCallableIface *proxy,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "MethodWithManyArgs",
661s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # arg_an_b,
661s # arg_an_y,
661s # arg_an_n,
661s # arg_an_q,
661s # arg_an_i,
661s # arg_an_u,
661s # arg_an_x,
661s # arg_an_t,
661s # arg_an_d,
661s # arg_an_s,
661s # arg_an_o,
661s # arg_an_g,
661s # arg_an_h,
661s # arg_an_ay,
661s # arg_an_as,
661s # arg_an_ao,
661s # arg_an_aay,
661s # arg_an_asv),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "()");
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_same_method_with_many_args:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @arg_an_b: Argument to pass with the method invocation.
661s # * @arg_an_y: Argument to pass with the method invocation.
661s # * @arg_an_n: Argument to pass with the method invocation.
661s # * @arg_an_q: Argument to pass with the method invocation.
661s # * @arg_an_i: Argument to pass with the method invocation.
661s # * @arg_an_u: Argument to pass with the method invocation.
661s # * @arg_an_x: Argument to pass with the method invocation.
661s # * @arg_an_t: Argument to pass with the method invocation.
661s # * @arg_an_d: Argument to pass with the method invocation.
661s # * @arg_an_s: Argument to pass with the method invocation.
661s # * @arg_an_o: Argument to pass with the method invocation.
661s # * @arg_an_g: Argument to pass with the method invocation.
661s # * @arg_an_h: Argument to pass with the method invocation.
661s # * @arg_an_ay: Argument to pass with the method invocation.
661s # * @arg_an_as: Argument to pass with the method invocation.
661s # * @arg_an_ao: Argument to pass with the method invocation.
661s # * @arg_an_aay: Argument to pass with the method invocation.
661s # * @arg_an_asv: Argument to pass with the method invocation.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation.
661s # *
661s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_callable_iface_call_same_method_with_many_args (
661s # OrgProjectCallableIface *proxy,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "SameMethodWithManyArgs",
661s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # arg_an_b,
661s # arg_an_y,
661s # arg_an_n,
661s # arg_an_q,
661s # arg_an_i,
661s # arg_an_u,
661s # arg_an_x,
661s # arg_an_t,
661s # arg_an_d,
661s # arg_an_s,
661s # arg_an_o,
661s # arg_an_g,
661s # arg_an_h,
661s # arg_an_ay,
661s # arg_an_as,
661s # arg_an_ao,
661s # arg_an_aay,
661s # arg_an_asv),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_same_method_with_many_args_finish:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_callable_iface_call_same_method_with_many_args_finish (
661s # OrgProjectCallableIface *proxy,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "()");
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_same_method_with_many_args_sync:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @arg_an_b: Argument to pass with the method invocation.
661s # * @arg_an_y: Argument to pass with the method invocation.
661s # * @arg_an_n: Argument to pass with the method invocation.
661s # * @arg_an_q: Argument to pass with the method invocation.
661s # * @arg_an_i: Argument to pass with the method invocation.
661s # * @arg_an_u: Argument to pass with the method invocation.
661s # * @arg_an_x: Argument to pass with the method invocation.
661s # * @arg_an_t: Argument to pass with the method invocation.
661s # * @arg_an_d: Argument to pass with the method invocation.
661s # * @arg_an_s: Argument to pass with the method invocation.
661s # * @arg_an_o: Argument to pass with the method invocation.
661s # * @arg_an_g: Argument to pass with the method invocation.
661s # * @arg_an_h: Argument to pass with the method invocation.
661s # * @arg_an_ay: Argument to pass with the method invocation.
661s # * @arg_an_as: Argument to pass with the method invocation.
661s # * @arg_an_ao: Argument to pass with the method invocation.
661s # * @arg_an_aay: Argument to pass with the method invocation.
661s # * @arg_an_asv: Argument to pass with the method invocation.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_callable_iface_call_same_method_with_many_args_sync (
661s # OrgProjectCallableIface *proxy,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "SameMethodWithManyArgs",
661s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # arg_an_b,
661s # arg_an_y,
661s # arg_an_n,
661s # arg_an_q,
661s # arg_an_i,
661s # arg_an_u,
661s # arg_an_x,
661s # arg_an_t,
661s # arg_an_d,
661s # arg_an_s,
661s # arg_an_o,
661s # arg_an_g,
661s # arg_an_h,
661s # arg_an_ay,
661s # arg_an_as,
661s # arg_an_ao,
661s # arg_an_aay,
661s # arg_an_asv),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "()");
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_complete_method_with_many_args:
661s # * @object: A #OrgProjectCallableIface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_callable_iface_complete_method_with_many_args (
661s # OrgProjectCallableIface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("()"));
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_complete_same_method_with_many_args:
661s # * @object: A #OrgProjectCallableIface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_callable_iface_complete_same_method_with_many_args (
661s # OrgProjectCallableIface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("()"));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectCallableIfaceProxy:
661s # *
661s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectCallableIfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectCallableIfaceProxy.
661s # */
661s #
661s # struct _OrgProjectCallableIfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_callable_iface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
661s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
661s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_callable_iface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_callable_iface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_callable_iface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectCallableIfaceSkeleton:
661s # *
661s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectCallableIfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectCallableIfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectCallableIfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_callable_iface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_callable_iface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_callable_iface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
661s # {
661s # _org_project_callable_iface_skeleton_handle_method_call,
661s # _org_project_callable_iface_skeleton_handle_get_property,
661s # _org_project_callable_iface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_callable_iface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_callable_iface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.OtherCallableIface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectOtherCallableIface
661s # * @title: OrgProjectOtherCallableIface
661s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_b",
661s # (gchar *) "b",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_y",
661s # (gchar *) "y",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_n",
661s # (gchar *) "n",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_q",
661s # (gchar *) "q",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_i",
661s # (gchar *) "i",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_u",
661s # (gchar *) "u",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_x",
661s # (gchar *) "x",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_t",
661s # (gchar *) "t",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_d",
661s # (gchar *) "d",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_s",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_o",
661s # (gchar *) "o",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_g",
661s # (gchar *) "g",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_h",
661s # (gchar *) "h",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ay",
661s # (gchar *) "ay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_as",
661s # (gchar *) "as",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ao",
661s # (gchar *) "ao",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_aay",
661s # (gchar *) "aay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_asv",
661s # (gchar *) "a{sv}",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
661s # {
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
661s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args =
661s # {
661s # {
661s # -1,
661s # (gchar *) "MethodWithManyArgs",
661s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
661s # NULL,
661s # NULL
661s # },
661s # "handle-method-with-many-args",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
661s # {
661s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.OtherCallableIface",
661s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-other-callable-iface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_other_callable_iface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_other_callable_iface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_other_callable_iface_method_marshal_method_with_many_args (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _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,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectOtherCallableIface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
661s # */
661s #
661s # /**
661s # * OrgProjectOtherCallableIfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
661s # */
661s #
661s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectOtherCallableIface::handle-method-with-many-args:
661s # * @object: A #OrgProjectOtherCallableIface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # * @arg_an_b: Argument passed by remote caller.
661s # * @arg_an_y: Argument passed by remote caller.
661s # * @arg_an_n: Argument passed by remote caller.
661s # * @arg_an_q: Argument passed by remote caller.
661s # * @arg_an_i: Argument passed by remote caller.
661s # * @arg_an_u: Argument passed by remote caller.
661s # * @arg_an_x: Argument passed by remote caller.
661s # * @arg_an_t: Argument passed by remote caller.
661s # * @arg_an_d: Argument passed by remote caller.
661s # * @arg_an_s: Argument passed by remote caller.
661s # * @arg_an_o: Argument passed by remote caller.
661s # * @arg_an_g: Argument passed by remote caller.
661s # * @arg_an_h: Argument passed by remote caller.
661s # * @arg_an_ay: Argument passed by remote caller.
661s # * @arg_an_as: Argument passed by remote caller.
661s # * @arg_an_ao: Argument passed by remote caller.
661s # * @arg_an_aay: Argument passed by remote caller.
661s # * @arg_an_asv: Argument passed by remote caller.
661s # *
661s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-method-with-many-args",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_other_callable_iface_method_marshal_method_with_many_args,
661s # G_TYPE_BOOLEAN,
661s # 19,
661s # 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);
661s #
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_call_method_with_many_args:
661s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
661s # * @arg_an_b: Argument to pass with the method invocation.
661s # * @arg_an_y: Argument to pass with the method invocation.
661s # * @arg_an_n: Argument to pass with the method invocation.
661s # * @arg_an_q: Argument to pass with the method invocation.
661s # * @arg_an_i: Argument to pass with the method invocation.
661s # * @arg_an_u: Argument to pass with the method invocation.
661s # * @arg_an_x: Argument to pass with the method invocation.
661s # * @arg_an_t: Argument to pass with the method invocation.
661s # * @arg_an_d: Argument to pass with the method invocation.
661s # * @arg_an_s: Argument to pass with the method invocation.
661s # * @arg_an_o: Argument to pass with the method invocation.
661s # * @arg_an_g: Argument to pass with the method invocation.
661s # * @arg_an_h: Argument to pass with the method invocation.
661s # * @arg_an_ay: Argument to pass with the method invocation.
661s # * @arg_an_as: Argument to pass with the method invocation.
661s # * @arg_an_ao: Argument to pass with the method invocation.
661s # * @arg_an_aay: Argument to pass with the method invocation.
661s # * @arg_an_asv: Argument to pass with the method invocation.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
661s # *
661s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_other_callable_iface_call_method_with_many_args (
661s # OrgProjectOtherCallableIface *proxy,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "MethodWithManyArgs",
661s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # arg_an_b,
661s # arg_an_y,
661s # arg_an_n,
661s # arg_an_q,
661s # arg_an_i,
661s # arg_an_u,
661s # arg_an_x,
661s # arg_an_t,
661s # arg_an_d,
661s # arg_an_s,
661s # arg_an_o,
661s # arg_an_g,
661s # arg_an_h,
661s # arg_an_ay,
661s # arg_an_as,
661s # arg_an_ao,
661s # arg_an_aay,
661s # arg_an_asv),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_call_method_with_many_args_finish:
661s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_other_callable_iface_call_method_with_many_args_finish (
661s # OrgProjectOtherCallableIface *proxy,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "()");
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_call_method_with_many_args_sync:
661s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
661s # * @arg_an_b: Argument to pass with the method invocation.
661s # * @arg_an_y: Argument to pass with the method invocation.
661s # * @arg_an_n: Argument to pass with the method invocation.
661s # * @arg_an_q: Argument to pass with the method invocation.
661s # * @arg_an_i: Argument to pass with the method invocation.
661s # * @arg_an_u: Argument to pass with the method invocation.
661s # * @arg_an_x: Argument to pass with the method invocation.
661s # * @arg_an_t: Argument to pass with the method invocation.
661s # * @arg_an_d: Argument to pass with the method invocation.
661s # * @arg_an_s: Argument to pass with the method invocation.
661s # * @arg_an_o: Argument to pass with the method invocation.
661s # * @arg_an_g: Argument to pass with the method invocation.
661s # * @arg_an_h: Argument to pass with the method invocation.
661s # * @arg_an_ay: Argument to pass with the method invocation.
661s # * @arg_an_as: Argument to pass with the method invocation.
661s # * @arg_an_ao: Argument to pass with the method invocation.
661s # * @arg_an_aay: Argument to pass with the method invocation.
661s # * @arg_an_asv: Argument to pass with the method invocation.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_other_callable_iface_call_method_with_many_args_sync (
661s # OrgProjectOtherCallableIface *proxy,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "MethodWithManyArgs",
661s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # arg_an_b,
661s # arg_an_y,
661s # arg_an_n,
661s # arg_an_q,
661s # arg_an_i,
661s # arg_an_u,
661s # arg_an_x,
661s # arg_an_t,
661s # arg_an_d,
661s # arg_an_s,
661s # arg_an_o,
661s # arg_an_g,
661s # arg_an_h,
661s # arg_an_ay,
661s # arg_an_as,
661s # arg_an_ao,
661s # arg_an_aay,
661s # arg_an_asv),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "()");
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_complete_method_with_many_args:
661s # * @object: A #OrgProjectOtherCallableIface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_other_callable_iface_complete_method_with_many_args (
661s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("()"));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectOtherCallableIfaceProxy:
661s # *
661s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectOtherCallableIfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
661s # */
661s #
661s # struct _OrgProjectOtherCallableIfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_other_callable_iface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
661s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
661s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_other_callable_iface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherCallableIface *
661s # org_project_other_callable_iface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherCallableIface *
661s # org_project_other_callable_iface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_other_callable_iface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_other_callable_iface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherCallableIface *
661s # org_project_other_callable_iface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherCallableIface *
661s # org_project_other_callable_iface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectOtherCallableIfaceSkeleton:
661s # *
661s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectOtherCallableIfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_other_callable_iface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_other_callable_iface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_other_callable_iface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
661s # {
661s # _org_project_other_callable_iface_skeleton_handle_method_call,
661s # _org_project_other_callable_iface_skeleton_handle_get_property,
661s # _org_project_other_callable_iface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_other_callable_iface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_other_callable_iface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectOtherCallableIface *
661s # org_project_other_callable_iface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
661s # }
661s # Error:
661s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmphoh9d0e_
661s # /tmp/tmphoh9d0e_/tmpkfqr4_00.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphoh9d0e_/tmpkfqr4_00.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.CallableIface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectCallableIface
661s # * @title: OrgProjectCallableIface
661s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for org.project.CallableIface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_b",
661s # (gchar *) "b",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_y",
661s # (gchar *) "y",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_n",
661s # (gchar *) "n",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_q",
661s # (gchar *) "q",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_i",
661s # (gchar *) "i",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_u",
661s # (gchar *) "u",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_x",
661s # (gchar *) "x",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_t",
661s # (gchar *) "t",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_d",
661s # (gchar *) "d",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_s",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_o",
661s # (gchar *) "o",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_g",
661s # (gchar *) "g",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_h",
661s # (gchar *) "h",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ay",
661s # (gchar *) "ay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_as",
661s # (gchar *) "as",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ao",
661s # (gchar *) "ao",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_aay",
661s # (gchar *) "aay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_asv",
661s # (gchar *) "a{sv}",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] =
661s # {
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct,
661s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
661s # {
661s # {
661s # -1,
661s # (gchar *) "MethodWithManyArgs",
661s # NULL,
661s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-method-with-many-args",
661s # FALSE
661s # };
661s #
661s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
661s # {
661s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.CallableIface",
661s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-callable-iface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_callable_iface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_callable_iface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_callable_iface_method_marshal_method_with_many_args (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectCallableIface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
661s # */
661s #
661s # /**
661s # * OrgProjectCallableIfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.CallableIface.
661s # */
661s #
661s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * OrgProjectCallableIface::handle-method-with-many-args:
661s # * @object: A #OrgProjectCallableIface.
661s # * @invocation: A #GDBusMethodInvocation.
661s # *
661s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-method-with-many-args",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # org_project_callable_iface_method_marshal_method_with_many_args,
661s # G_TYPE_BOOLEAN,
661s # 1,
661s # G_TYPE_DBUS_METHOD_INVOCATION);
661s #
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_method_with_many_args:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
661s # *
661s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # org_project_callable_iface_call_method_with_many_args (
661s # OrgProjectCallableIface *proxy,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
661s # "MethodWithManyArgs",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_method_with_many_args_finish:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_callable_iface_call_method_with_many_args_finish (
661s # OrgProjectCallableIface *proxy,
661s # gboolean *out_an_b,
661s # guchar *out_an_y,
661s # gint16 *out_an_n,
661s # guint16 *out_an_q,
661s # gint *out_an_i,
661s # guint *out_an_u,
661s # gint64 *out_an_x,
661s # guint64 *out_an_t,
661s # gdouble *out_an_d,
661s # gchar **out_an_s,
661s # gchar **out_an_o,
661s # gchar **out_an_g,
661s # GVariant **out_an_h,
661s # gchar **out_an_ay,
661s # gchar ***out_an_as,
661s # gchar ***out_an_ao,
661s # gchar ***out_an_aay,
661s # GVariant **out_an_asv,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # out_an_b,
661s # out_an_y,
661s # out_an_n,
661s # out_an_q,
661s # out_an_i,
661s # out_an_u,
661s # out_an_x,
661s # out_an_t,
661s # out_an_d,
661s # out_an_s,
661s # out_an_o,
661s # out_an_g,
661s # out_an_h,
661s # out_an_ay,
661s # out_an_as,
661s # out_an_ao,
661s # out_an_aay,
661s # out_an_asv);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_call_method_with_many_args_sync:
661s # * @proxy: A #OrgProjectCallableIfaceProxy.
661s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
661s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # org_project_callable_iface_call_method_with_many_args_sync (
661s # OrgProjectCallableIface *proxy,
661s # gboolean *out_an_b,
661s # guchar *out_an_y,
661s # gint16 *out_an_n,
661s # guint16 *out_an_q,
661s # gint *out_an_i,
661s # guint *out_an_u,
661s # gint64 *out_an_x,
661s # guint64 *out_an_t,
661s # gdouble *out_an_d,
661s # gchar **out_an_s,
661s # gchar **out_an_o,
661s # gchar **out_an_g,
661s # GVariant **out_an_h,
661s # gchar **out_an_ay,
661s # gchar ***out_an_as,
661s # gchar ***out_an_ao,
661s # gchar ***out_an_aay,
661s # GVariant **out_an_asv,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
661s # "MethodWithManyArgs",
661s # g_variant_new ("()"),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # out_an_b,
661s # out_an_y,
661s # out_an_n,
661s # out_an_q,
661s # out_an_i,
661s # out_an_u,
661s # out_an_x,
661s # out_an_t,
661s # out_an_d,
661s # out_an_s,
661s # out_an_o,
661s # out_an_g,
661s # out_an_h,
661s # out_an_ay,
661s # out_an_as,
661s # out_an_ao,
661s # out_an_aay,
661s # out_an_asv);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_complete_method_with_many_args:
661s # * @object: A #OrgProjectCallableIface.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @an_b: Parameter to return.
661s # * @an_y: Parameter to return.
661s # * @an_n: Parameter to return.
661s # * @an_q: Parameter to return.
661s # * @an_i: Parameter to return.
661s # * @an_u: Parameter to return.
661s # * @an_x: Parameter to return.
661s # * @an_t: Parameter to return.
661s # * @an_d: Parameter to return.
661s # * @an_s: Parameter to return.
661s # * @an_o: Parameter to return.
661s # * @an_g: Parameter to return.
661s # * @an_h: Parameter to return.
661s # * @an_ay: Parameter to return.
661s # * @an_as: Parameter to return.
661s # * @an_ao: Parameter to return.
661s # * @an_aay: Parameter to return.
661s # * @an_asv: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # org_project_callable_iface_complete_method_with_many_args (
661s # OrgProjectCallableIface *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # gboolean an_b,
661s # guchar an_y,
661s # gint16 an_n,
661s # guint16 an_q,
661s # gint an_i,
661s # guint an_u,
661s # gint64 an_x,
661s # guint64 an_t,
661s # gdouble an_d,
661s # const gchar *an_s,
661s # const gchar *an_o,
661s # const gchar *an_g,
661s # GVariant *an_h,
661s # const gchar *an_ay,
661s # const gchar *const *an_as,
661s # const gchar *const *an_ao,
661s # const gchar *const *an_aay,
661s # GVariant *an_asv)
661s # {
661s # g_dbus_method_invocation_return_value (invocation,
661s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # an_b,
661s # an_y,
661s # an_n,
661s # an_q,
661s # an_i,
661s # an_u,
661s # an_x,
661s # an_t,
661s # an_d,
661s # an_s,
661s # an_o,
661s # an_g,
661s # an_h,
661s # an_ay,
661s # an_as,
661s # an_ao,
661s # an_aay,
661s # an_asv));
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectCallableIfaceProxy:
661s # *
661s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectCallableIfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectCallableIfaceProxy.
661s # */
661s #
661s # struct _OrgProjectCallableIfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_callable_iface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
661s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
661s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_callable_iface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_callable_iface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_callable_iface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_CALLABLE_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectCallableIfaceSkeleton:
661s # *
661s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectCallableIfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectCallableIfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectCallableIfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_callable_iface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_callable_iface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_callable_iface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
661s # {
661s # _org_project_callable_iface_skeleton_handle_method_call,
661s # _org_project_callable_iface_skeleton_handle_get_property,
661s # _org_project_callable_iface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_callable_iface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_callable_iface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_callable_iface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectCallableIface *
661s # org_project_callable_iface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
661s # }
661s # Error:
661s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmpw3x955qf
661s # /tmp/tmpw3x955qf/tmpnlqsim8k.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw3x955qf/tmpnlqsim8k.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
661s # (void *data1,
661s # GDBusMethodInvocation *arg_method_invocation,
661s # GUnixFDList *arg_fd_list,
661s # const gchar *arg_greeting,
661s # void *data2);
661s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s # gboolean v_return;
661s #
661s # g_return_if_fail (return_value != NULL);
661s # g_return_if_fail (n_param_values == 4);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # v_return =
661s # callback (data1,
661s # g_marshal_value_peek_object (param_values + 1),
661s # g_marshal_value_peek_object (param_values + 2),
661s # g_marshal_value_peek_string (param_values + 3),
661s # data2);
661s #
661s # g_value_set_boolean (return_value, v_return);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface test.FDPassing
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:TestFDPassing
661s # * @title: TestFDPassing
661s # * @short_description: Generated C code for the test.FDPassing D-Bus interface
661s # *
661s # * This section contains code for working with the test.FDPassing D-Bus interface in C.
661s # */
661s #
661s # /* ---- Introspection data for test.FDPassing ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting =
661s # {
661s # {
661s # -1,
661s # (gchar *) "greeting",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] =
661s # {
661s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response =
661s # {
661s # {
661s # -1,
661s # (gchar *) "response",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] =
661s # {
661s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd =
661s # {
661s # {
661s # -1,
661s # (gchar *) "HelloFD",
661s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers,
661s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers,
661s # NULL
661s # },
661s # "handle-hello-fd",
661s # TRUE
661s # };
661s #
661s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] =
661s # {
661s # &_test_fdpassing_method_info_hello_fd.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "test.FDPassing",
661s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers,
661s # NULL,
661s # NULL,
661s # NULL
661s # },
661s # "test-fdpassing",
661s # };
661s #
661s #
661s # /**
661s # * test_fdpassing_interface_info:
661s # *
661s # * Gets a machine-readable description of the test.FDPassing D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # test_fdpassing_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * test_fdpassing_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # test_fdpassing_method_marshal_hello_fd (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * TestFDPassing:
661s # *
661s # * Abstract interface type for the D-Bus interface test.FDPassing.
661s # */
661s #
661s # /**
661s # * TestFDPassingIface:
661s # * @parent_iface: The parent interface.
661s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal.
661s # *
661s # * Virtual table for the D-Bus interface test.FDPassing.
661s # */
661s #
661s # typedef TestFDPassingIface TestFDPassingInterface;
661s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT)
661s #
661s # static void
661s # test_fdpassing_default_init (TestFDPassingIface *iface)
661s # {
661s # /* GObject signals for incoming D-Bus method calls: */
661s # /**
661s # * TestFDPassing::handle-hello-fd:
661s # * @object: A #TestFDPassing.
661s # * @invocation: A #GDBusMethodInvocation.
661s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
661s # * @arg_greeting: Argument passed by remote caller.
661s # *
661s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method.
661s # *
661s # * 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.
661s # *
661s # * 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.
661s # */
661s # g_signal_new ("handle-hello-fd",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd),
661s # g_signal_accumulator_true_handled,
661s # NULL,
661s # test_fdpassing_method_marshal_hello_fd,
661s # G_TYPE_BOOLEAN,
661s # 3,
661s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING);
661s #
661s # }
661s #
661s # /**
661s # * test_fdpassing_call_hello_fd:
661s # * @proxy: A #TestFDPassingProxy.
661s # * @arg_greeting: Argument to pass with the method invocation.
661s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy.
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation.
661s # *
661s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method.
661s # */
661s # void
661s # test_fdpassing_call_hello_fd (
661s # TestFDPassing *proxy,
661s # const gchar *arg_greeting,
661s # GUnixFDList *fd_list,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy),
661s # "HelloFD",
661s # g_variant_new ("(s)",
661s # arg_greeting),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # fd_list,
661s # cancellable,
661s # callback,
661s # user_data);
661s # }
661s #
661s # /**
661s # * test_fdpassing_call_hello_fd_finish:
661s # * @proxy: A #TestFDPassingProxy.
661s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore.
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd().
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Finishes an operation started with test_fdpassing_call_hello_fd().
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # test_fdpassing_call_hello_fd_finish (
661s # TestFDPassing *proxy,
661s # gchar **out_response,
661s # GUnixFDList **out_fd_list,
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(s)",
661s # out_response);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * test_fdpassing_call_hello_fd_sync:
661s # * @proxy: A #TestFDPassingProxy.
661s # * @arg_greeting: Argument to pass with the method invocation.
661s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
661s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
661s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL.
661s # *
661s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
661s # *
661s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method.
661s # *
661s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
661s # */
661s # gboolean
661s # test_fdpassing_call_hello_fd_sync (
661s # TestFDPassing *proxy,
661s # const gchar *arg_greeting,
661s # GUnixFDList *fd_list,
661s # gchar **out_response,
661s # GUnixFDList **out_fd_list,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GVariant *_ret;
661s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy),
661s # "HelloFD",
661s # g_variant_new ("(s)",
661s # arg_greeting),
661s # G_DBUS_CALL_FLAGS_NONE,
661s # -1,
661s # fd_list,
661s # out_fd_list,
661s # cancellable,
661s # error);
661s # if (_ret == NULL)
661s # goto _out;
661s # g_variant_get (_ret,
661s # "(s)",
661s # out_response);
661s # g_variant_unref (_ret);
661s # _out:
661s # return _ret != NULL;
661s # }
661s #
661s # /**
661s # * test_fdpassing_complete_hello_fd:
661s # * @object: A #TestFDPassing.
661s # * @invocation: (transfer full): A #GDBusMethodInvocation.
661s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
661s # * @response: Parameter to return.
661s # *
661s # * 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.
661s # *
661s # * This method will free @invocation, you cannot use it afterwards.
661s # */
661s # void
661s # test_fdpassing_complete_hello_fd (
661s # TestFDPassing *object G_GNUC_UNUSED,
661s # GDBusMethodInvocation *invocation,
661s # GUnixFDList *fd_list,
661s # const gchar *response)
661s # {
661s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,
661s # g_variant_new ("(s)",
661s # response),
661s # fd_list);
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * TestFDPassingProxy:
661s # *
661s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * TestFDPassingProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #TestFDPassingProxy.
661s # */
661s #
661s # struct _TestFDPassingProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (TestFDPassingProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # test_fdpassing_proxy_finalize (GObject *object)
661s # {
661s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ());
661s # }
661s #
661s # static void
661s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = test_fdpassing_proxy_finalize;
661s # gobject_class->get_property = test_fdpassing_proxy_get_property;
661s # gobject_class->set_property = test_fdpassing_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = test_fdpassing_proxy_g_signal;
661s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * test_fdpassing_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # test_fdpassing_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * test_fdpassing_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with test_fdpassing_proxy_new().
661s # *
661s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # TestFDPassing *
661s # test_fdpassing_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return TEST_FDPASSING (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * test_fdpassing_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # TestFDPassing *
661s # test_fdpassing_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return TEST_FDPASSING (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * test_fdpassing_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # test_fdpassing_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * test_fdpassing_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # TestFDPassing *
661s # test_fdpassing_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return TEST_FDPASSING (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * test_fdpassing_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # TestFDPassing *
661s # test_fdpassing_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return TEST_FDPASSING (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * TestFDPassingSkeleton:
661s # *
661s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * TestFDPassingSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #TestFDPassingSkeleton.
661s # */
661s #
661s # struct _TestFDPassingSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _test_fdpassing_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _test_fdpassing_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _test_fdpassing_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable =
661s # {
661s # _test_fdpassing_skeleton_handle_method_call,
661s # _test_fdpassing_skeleton_handle_get_property,
661s # _test_fdpassing_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return test_fdpassing_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (TestFDPassingSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # test_fdpassing_skeleton_finalize (GObject *object)
661s # {
661s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = test_fdpassing_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * test_fdpassing_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface test.FDPassing.
661s # *
661s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object.
661s # */
661s # TestFDPassing *
661s # test_fdpassing_skeleton_new (void)
661s # {
661s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL));
661s # }
661s # Error:
661s ok 15 __main__.TestCodegen.test_generate_rst
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmpay0_1ikw
661s # /tmp/tmpay0_1ikw/tmpcqz12b2t.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpay0_1ikw/tmpcqz12b2t.xml', '--generate-rst', 'test']
661s # Return code: 0
661s # Output:
661s #
661s # Error:
661s ok 16 __main__.TestCodegen.test_generate_rst_method
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmp9i695dvg
661s # /tmp/tmp9i695dvg/tmpjwlo22e5.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9i695dvg/tmpjwlo22e5.xml', '--generate-rst', 'test']
661s # Return code: 0
661s # Output:
661s #
661s # Error:
661s ok 17 __main__.TestCodegen.test_generate_rst_property
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmpdfu908j9
661s # /tmp/tmpdfu908j9/tmpkefnyivr.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdfu908j9/tmpkefnyivr.xml', '--generate-rst', 'test']
661s # Return code: 0
661s # Output:
661s #
661s # Error:
661s ok 18 __main__.TestCodegen.test_generate_rst_signal
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmpzutslx3o
661s # /tmp/tmpzutslx3o/tmpaipmzcfz.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzutslx3o/tmpaipmzcfz.xml', '--generate-rst', 'test']
661s # Return code: 0
661s # Output:
661s #
661s # Error:
661s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmp7icmcund
661s # /tmp/tmp7icmcund/tmptcoivs3v.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7icmcund/tmptcoivs3v.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
661s # GClosure *closure,
661s # GValue *return_value G_GNUC_UNUSED,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
661s # (void *data1,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv,
661s # void *data2);
661s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s #
661s # g_return_if_fail (n_param_values == 19);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # callback (data1,
661s # g_marshal_value_peek_boolean (param_values + 1),
661s # g_marshal_value_peek_uchar (param_values + 2),
661s # g_marshal_value_peek_int (param_values + 3),
661s # g_marshal_value_peek_uint (param_values + 4),
661s # g_marshal_value_peek_int (param_values + 5),
661s # g_marshal_value_peek_uint (param_values + 6),
661s # g_marshal_value_peek_int64 (param_values + 7),
661s # g_marshal_value_peek_uint64 (param_values + 8),
661s # g_marshal_value_peek_double (param_values + 9),
661s # g_marshal_value_peek_string (param_values + 10),
661s # g_marshal_value_peek_string (param_values + 11),
661s # g_marshal_value_peek_string (param_values + 12),
661s # g_marshal_value_peek_variant (param_values + 13),
661s # g_marshal_value_peek_string (param_values + 14),
661s # g_marshal_value_peek_boxed (param_values + 15),
661s # g_marshal_value_peek_boxed (param_values + 16),
661s # g_marshal_value_peek_boxed (param_values + 17),
661s # g_marshal_value_peek_variant (param_values + 18),
661s # data2);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.SignalingIface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectSignalingIface
661s # * @title: OrgProjectSignalingIface
661s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
661s # */
661s #
661s # enum
661s # {
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
661s # };
661s #
661s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
661s #
661s # /* ---- Introspection data for org.project.SignalingIface ---- */
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_b",
661s # (gchar *) "b",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_y",
661s # (gchar *) "y",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_n",
661s # (gchar *) "n",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_q",
661s # (gchar *) "q",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_i",
661s # (gchar *) "i",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_u",
661s # (gchar *) "u",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_x",
661s # (gchar *) "x",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_t",
661s # (gchar *) "t",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_d",
661s # (gchar *) "d",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_s",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_o",
661s # (gchar *) "o",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_g",
661s # (gchar *) "g",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_h",
661s # (gchar *) "h",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ay",
661s # (gchar *) "ay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_as",
661s # (gchar *) "as",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ao",
661s # (gchar *) "ao",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_aay",
661s # (gchar *) "aay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_asv",
661s # (gchar *) "a{sv}",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SignalWithManyArgs",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
661s # NULL
661s # },
661s # "signal-with-many-args"
661s # };
661s #
661s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.SignalingIface",
661s # NULL,
661s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-signaling-iface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_signaling_iface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_signaling_iface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectSignalingIface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
661s # */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.SignalingIface.
661s # */
661s #
661s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
661s # {
661s # /* GObject signals for received D-Bus signals: */
661s # /**
661s # * OrgProjectSignalingIface::signal-with-many-args:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_b: Argument.
661s # * @arg_an_y: Argument.
661s # * @arg_an_n: Argument.
661s # * @arg_an_q: Argument.
661s # * @arg_an_i: Argument.
661s # * @arg_an_u: Argument.
661s # * @arg_an_x: Argument.
661s # * @arg_an_t: Argument.
661s # * @arg_an_d: Argument.
661s # * @arg_an_s: Argument.
661s # * @arg_an_o: Argument.
661s # * @arg_an_g: Argument.
661s # * @arg_an_h: Argument.
661s # * @arg_an_ay: Argument.
661s # * @arg_an_as: Argument.
661s # * @arg_an_ao: Argument.
661s # * @arg_an_aay: Argument.
661s # * @arg_an_asv: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
661s # g_signal_new ("signal-with-many-args",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
661s # G_TYPE_NONE,
661s # 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);
661s #
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_signal_with_many_args:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_b: Argument to pass with the signal.
661s # * @arg_an_y: Argument to pass with the signal.
661s # * @arg_an_n: Argument to pass with the signal.
661s # * @arg_an_q: Argument to pass with the signal.
661s # * @arg_an_i: Argument to pass with the signal.
661s # * @arg_an_u: Argument to pass with the signal.
661s # * @arg_an_x: Argument to pass with the signal.
661s # * @arg_an_t: Argument to pass with the signal.
661s # * @arg_an_d: Argument to pass with the signal.
661s # * @arg_an_s: Argument to pass with the signal.
661s # * @arg_an_o: Argument to pass with the signal.
661s # * @arg_an_g: Argument to pass with the signal.
661s # * @arg_an_h: Argument to pass with the signal.
661s # * @arg_an_ay: Argument to pass with the signal.
661s # * @arg_an_as: Argument to pass with the signal.
661s # * @arg_an_ao: Argument to pass with the signal.
661s # * @arg_an_aay: Argument to pass with the signal.
661s # * @arg_an_asv: Argument to pass with the signal.
661s # *
661s # * Emits the "SignalWithManyArgs" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_signal_with_many_args (
661s # OrgProjectSignalingIface *object,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv)
661s # {
661s # 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);
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceProxy:
661s # *
661s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectSignalingIfaceProxy.
661s # */
661s #
661s # struct _OrgProjectSignalingIfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_signaling_iface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
661s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
661s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_signaling_iface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_signaling_iface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceSkeleton:
661s # *
661s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectSignalingIfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_signaling_iface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_signaling_iface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_signaling_iface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
661s # {
661s # _org_project_signaling_iface_skeleton_handle_method_call,
661s # _org_project_signaling_iface_skeleton_handle_get_property,
661s # _org_project_signaling_iface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_signaling_iface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_signal_with_many_args (
661s # OrgProjectSignalingIface *object,
661s # gboolean arg_an_b,
661s # guchar arg_an_y,
661s # gint16 arg_an_n,
661s # guint16 arg_an_q,
661s # gint arg_an_i,
661s # guint arg_an_u,
661s # gint64 arg_an_x,
661s # guint64 arg_an_t,
661s # gdouble arg_an_d,
661s # const gchar *arg_an_s,
661s # const gchar *arg_an_o,
661s # const gchar *arg_an_g,
661s # GVariant *arg_an_h,
661s # const gchar *arg_an_ay,
661s # const gchar *const *arg_an_as,
661s # const gchar *const *arg_an_ao,
661s # const gchar *const *arg_an_aay,
661s # GVariant *arg_an_asv)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
661s # arg_an_b,
661s # arg_an_y,
661s # arg_an_n,
661s # arg_an_q,
661s # arg_an_i,
661s # arg_an_u,
661s # arg_an_x,
661s # arg_an_t,
661s # arg_an_d,
661s # arg_an_s,
661s # arg_an_o,
661s # arg_an_g,
661s # arg_an_h,
661s # arg_an_ay,
661s # arg_an_as,
661s # arg_an_ao,
661s # arg_an_aay,
661s # arg_an_asv));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_signaling_iface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
661s # {
661s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
661s # }
661s # Error:
661s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmp03p56dvt
661s # /tmp/tmp03p56dvt/tmpkvbxdkg1.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp03p56dvt/tmpkvbxdkg1.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_VOID__INT64 (
661s # GClosure *closure,
661s # GValue *return_value G_GNUC_UNUSED,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
661s # (void *data1,
661s # gint64 arg_an_x,
661s # void *data2);
661s # _GDbusCodegenMarshalVoid_Int64Func callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s #
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # callback (data1,
661s # g_marshal_value_peek_int64 (param_values + 1),
661s # data2);
661s # }
661s #
661s # static void
661s # _g_dbus_codegen_marshal_VOID__UINT64 (
661s # GClosure *closure,
661s # GValue *return_value G_GNUC_UNUSED,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint G_GNUC_UNUSED,
661s # void *marshal_data)
661s # {
661s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
661s # (void *data1,
661s # guint64 arg_an_t,
661s # void *data2);
661s # _GDbusCodegenMarshalVoid_Uint64Func callback;
661s # GCClosure *cc = (GCClosure*) closure;
661s # void *data1, *data2;
661s #
661s # g_return_if_fail (n_param_values == 2);
661s #
661s # if (G_CCLOSURE_SWAP_DATA (closure))
661s # {
661s # data1 = closure->data;
661s # data2 = g_value_peek_pointer (param_values + 0);
661s # }
661s # else
661s # {
661s # data1 = g_value_peek_pointer (param_values + 0);
661s # data2 = closure->data;
661s # }
661s #
661s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
661s # (marshal_data ? marshal_data : cc->callback);
661s #
661s # callback (data1,
661s # g_marshal_value_peek_uint64 (param_values + 1),
661s # data2);
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.SignalingIface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectSignalingIface
661s # * @title: OrgProjectSignalingIface
661s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
661s # */
661s #
661s # enum
661s # {
661s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
661s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
661s # };
661s #
661s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 };
661s #
661s # /* ---- Introspection data for org.project.SignalingIface ---- */
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal =
661s # {
661s # {
661s # -1,
661s # (gchar *) "NoArgSignal",
661s # NULL,
661s # NULL
661s # },
661s # "no-arg-signal"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_b",
661s # (gchar *) "b",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalB",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-b"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_y",
661s # (gchar *) "y",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalY",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-y"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_n",
661s # (gchar *) "n",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalN",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-n"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_q",
661s # (gchar *) "q",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalQ",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-q"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_i",
661s # (gchar *) "i",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalI",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-i"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_u",
661s # (gchar *) "u",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalU",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-u"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_x",
661s # (gchar *) "x",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalX",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-x"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_t",
661s # (gchar *) "t",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalT",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-t"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_d",
661s # (gchar *) "d",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalD",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-d"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_s",
661s # (gchar *) "s",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalS",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-s"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_o",
661s # (gchar *) "o",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalO",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-o"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_g",
661s # (gchar *) "g",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalG",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-g"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_h",
661s # (gchar *) "h",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalH",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-h"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ay",
661s # (gchar *) "ay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalAY",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-ay"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_as",
661s # (gchar *) "as",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalAS",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-as"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_ao",
661s # (gchar *) "ao",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalAO",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-ao"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_aay",
661s # (gchar *) "aay",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalAAY",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-aay"
661s # };
661s #
661s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "an_asv",
661s # (gchar *) "a{sv}",
661s # NULL
661s # },
661s # FALSE
661s # };
661s #
661s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SingleArgSignalASV",
661s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
661s # NULL
661s # },
661s # "single-arg-signal-asv"
661s # };
661s #
661s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
661s # {
661s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
661s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.SignalingIface",
661s # NULL,
661s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-signaling-iface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_signaling_iface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_signaling_iface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_no_arg_signal (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__VOID (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__BOOLEAN (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__UCHAR (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__INT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__UINT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__INT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__UINT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__DOUBLE (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__STRING (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__STRING (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__STRING (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__VARIANT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__STRING (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__BOXED (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__BOXED (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__BOXED (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s # inline static void
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__VARIANT (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectSignalingIface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
661s # */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal.
661s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
661s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
661s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
661s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
661s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
661s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
661s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
661s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
661s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
661s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
661s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
661s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
661s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
661s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
661s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
661s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
661s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
661s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.SignalingIface.
661s # */
661s #
661s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
661s # {
661s # /* GObject signals for received D-Bus signals: */
661s # /**
661s # * OrgProjectSignalingIface::no-arg-signal:
661s # * @object: A #OrgProjectSignalingIface.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] =
661s # g_signal_new ("no-arg-signal",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_no_arg_signal,
661s # G_TYPE_NONE,
661s # 0);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-b:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_b: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
661s # g_signal_new ("single-arg-signal-b",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_BOOLEAN);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-y:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_y: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
661s # g_signal_new ("single-arg-signal-y",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_UCHAR);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-n:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_n: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
661s # g_signal_new ("single-arg-signal-n",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_INT);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-q:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_q: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
661s # g_signal_new ("single-arg-signal-q",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_UINT);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-i:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_i: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
661s # g_signal_new ("single-arg-signal-i",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_INT);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-u:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_u: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
661s # g_signal_new ("single-arg-signal-u",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_UINT);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-x:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_x: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
661s # g_signal_new ("single-arg-signal-x",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_INT64);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-t:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_t: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
661s # g_signal_new ("single-arg-signal-t",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_UINT64);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-d:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_d: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
661s # g_signal_new ("single-arg-signal-d",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_DOUBLE);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-s:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_s: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
661s # g_signal_new ("single-arg-signal-s",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_STRING);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-o:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_o: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
661s # g_signal_new ("single-arg-signal-o",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_STRING);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-g:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_g: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
661s # g_signal_new ("single-arg-signal-g",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_STRING);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-h:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_h: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
661s # g_signal_new ("single-arg-signal-h",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_VARIANT);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-ay:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_ay: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
661s # g_signal_new ("single-arg-signal-ay",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_STRING);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-as:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_as: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
661s # g_signal_new ("single-arg-signal-as",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_STRV);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-ao:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_ao: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
661s # g_signal_new ("single-arg-signal-ao",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_STRV);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-aay:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_aay: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
661s # g_signal_new ("single-arg-signal-aay",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_STRV);
661s #
661s # /**
661s # * OrgProjectSignalingIface::single-arg-signal-asv:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_asv: Argument.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
661s # g_signal_new ("single-arg-signal-asv",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
661s # NULL,
661s # NULL,
661s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
661s # G_TYPE_NONE,
661s # 1, G_TYPE_VARIANT);
661s #
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_no_arg_signal:
661s # * @object: A #OrgProjectSignalingIface.
661s # *
661s # * Emits the "NoArgSignal" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_no_arg_signal (
661s # OrgProjectSignalingIface *object)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_b:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_b: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalB" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_b (
661s # OrgProjectSignalingIface *object,
661s # gboolean arg_an_b)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_y:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_y: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalY" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_y (
661s # OrgProjectSignalingIface *object,
661s # guchar arg_an_y)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_n:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_n: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalN" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_n (
661s # OrgProjectSignalingIface *object,
661s # gint16 arg_an_n)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_q:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_q: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalQ" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_q (
661s # OrgProjectSignalingIface *object,
661s # guint16 arg_an_q)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_i:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_i: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalI" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_i (
661s # OrgProjectSignalingIface *object,
661s # gint arg_an_i)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_u:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_u: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalU" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_u (
661s # OrgProjectSignalingIface *object,
661s # guint arg_an_u)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_x:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_x: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalX" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_x (
661s # OrgProjectSignalingIface *object,
661s # gint64 arg_an_x)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_t:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_t: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalT" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_t (
661s # OrgProjectSignalingIface *object,
661s # guint64 arg_an_t)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_d:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_d: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalD" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_d (
661s # OrgProjectSignalingIface *object,
661s # gdouble arg_an_d)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_s:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_s: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalS" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_s (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_s)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_o:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_o: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalO" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_o (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_o)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_g:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_g: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalG" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_g (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_g)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_h:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_h: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalH" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_h (
661s # OrgProjectSignalingIface *object,
661s # GVariant *arg_an_h)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_ay:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_ay: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalAY" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_ay (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_ay)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_as:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_as: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalAS" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_as (
661s # OrgProjectSignalingIface *object,
661s # const gchar *const *arg_an_as)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_ao:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_ao: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalAO" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_ao (
661s # OrgProjectSignalingIface *object,
661s # const gchar *const *arg_an_ao)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_aay:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_aay: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalAAY" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_aay (
661s # OrgProjectSignalingIface *object,
661s # const gchar *const *arg_an_aay)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_emit_single_arg_signal_asv:
661s # * @object: A #OrgProjectSignalingIface.
661s # * @arg_an_asv: Argument to pass with the signal.
661s # *
661s # * Emits the "SingleArgSignalASV" D-Bus signal.
661s # */
661s # void
661s # org_project_signaling_iface_emit_single_arg_signal_asv (
661s # OrgProjectSignalingIface *object,
661s # GVariant *arg_an_asv)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv);
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceProxy:
661s # *
661s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectSignalingIfaceProxy.
661s # */
661s #
661s # struct _OrgProjectSignalingIfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_signaling_iface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
661s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
661s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_signaling_iface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_signaling_iface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_SIGNALING_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceSkeleton:
661s # *
661s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectSignalingIfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectSignalingIfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_signaling_iface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_signaling_iface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_signaling_iface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
661s # {
661s # _org_project_signaling_iface_skeleton_handle_method_call,
661s # _org_project_signaling_iface_skeleton_handle_get_property,
661s # _org_project_signaling_iface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_signaling_iface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_no_arg_signal (
661s # OrgProjectSignalingIface *object)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
661s # OrgProjectSignalingIface *object,
661s # gboolean arg_an_b)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
661s # arg_an_b));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
661s # OrgProjectSignalingIface *object,
661s # guchar arg_an_y)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
661s # arg_an_y));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
661s # OrgProjectSignalingIface *object,
661s # gint16 arg_an_n)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
661s # arg_an_n));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
661s # OrgProjectSignalingIface *object,
661s # guint16 arg_an_q)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
661s # arg_an_q));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
661s # OrgProjectSignalingIface *object,
661s # gint arg_an_i)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
661s # arg_an_i));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
661s # OrgProjectSignalingIface *object,
661s # guint arg_an_u)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
661s # arg_an_u));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
661s # OrgProjectSignalingIface *object,
661s # gint64 arg_an_x)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
661s # arg_an_x));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
661s # OrgProjectSignalingIface *object,
661s # guint64 arg_an_t)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
661s # arg_an_t));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
661s # OrgProjectSignalingIface *object,
661s # gdouble arg_an_d)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
661s # arg_an_d));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_s)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
661s # arg_an_s));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_o)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
661s # arg_an_o));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_g)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
661s # arg_an_g));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
661s # OrgProjectSignalingIface *object,
661s # GVariant *arg_an_h)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
661s # arg_an_h));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
661s # OrgProjectSignalingIface *object,
661s # const gchar *arg_an_ay)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
661s # arg_an_ay));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
661s # OrgProjectSignalingIface *object,
661s # const gchar *const *arg_an_as)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
661s # arg_an_as));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
661s # OrgProjectSignalingIface *object,
661s # const gchar *const *arg_an_ao)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
661s # arg_an_ao));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
661s # OrgProjectSignalingIface *object,
661s # const gchar *const *arg_an_aay)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
661s # arg_an_aay));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void
661s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
661s # OrgProjectSignalingIface *object,
661s # GVariant *arg_an_asv)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
661s # arg_an_asv));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_signaling_iface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
661s # {
661s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal;
661s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
661s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
661s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
661s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
661s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
661s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
661s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
661s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
661s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
661s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
661s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
661s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
661s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
661s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
661s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
661s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
661s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
661s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
661s # }
661s #
661s # /**
661s # * org_project_signaling_iface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectSignalingIface *
661s # org_project_signaling_iface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
661s # }
661s # Error:
661s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal
661s # gdbus-codegen: /usr/bin/gdbus-codegen
661s # tmpdir: /tmp/tmpwe3yx65r
661s # /tmp/tmpwe3yx65r/tmpbn45um51.xml:
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s #
661s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwe3yx65r/tmpbn45um51.xml', '--output', '-', '--body']
661s # Return code: 0
661s # Output:
661s # /*
661s # * This file is generated by gdbus-codegen, do not modify it.
661s # *
661s # * The license of this code is the same as for the D-Bus interface description
661s # * it was derived from. Note that it links to GLib, so must comply with the
661s # * LGPL linking clauses.
661s # */
661s #
661s # #ifdef HAVE_CONFIG_H
661s # # include "config.h"
661s # #endif
661s #
661s # #include
661s # #ifdef G_OS_UNIX
661s # # include
661s # #endif
661s #
661s # #ifdef G_ENABLE_DEBUG
661s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
661s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
661s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
661s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
661s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
661s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
661s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
661s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
661s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
661s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
661s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
661s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
661s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
661s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
661s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
661s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
661s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
661s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
661s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
661s # #else /* !G_ENABLE_DEBUG */
661s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
661s # * Do not access GValues directly in your code. Instead, use the
661s # * g_value_get_*() functions
661s # */
661s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
661s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
661s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
661s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
661s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
661s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
661s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
661s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
661s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
661s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
661s # #endif /* !G_ENABLE_DEBUG */
661s #
661s # typedef struct
661s # {
661s # GDBusArgInfo parent_struct;
661s # gboolean use_gvariant;
661s # } _ExtendedGDBusArgInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusMethodInfo parent_struct;
661s # const gchar *signal_name;
661s # gboolean pass_fdlist;
661s # } _ExtendedGDBusMethodInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusSignalInfo parent_struct;
661s # const gchar *signal_name;
661s # } _ExtendedGDBusSignalInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusPropertyInfo parent_struct;
661s # const gchar *hyphen_name;
661s # guint use_gvariant : 1;
661s # guint emits_changed_signal : 1;
661s # } _ExtendedGDBusPropertyInfo;
661s #
661s # typedef struct
661s # {
661s # GDBusInterfaceInfo parent_struct;
661s # const gchar *hyphen_name;
661s # } _ExtendedGDBusInterfaceInfo;
661s #
661s # typedef struct
661s # {
661s # const _ExtendedGDBusPropertyInfo *info;
661s # guint prop_id;
661s # GValue orig_value; /* the value before the change */
661s # } ChangedProperty;
661s #
661s # static void
661s # _changed_property_free (ChangedProperty *data)
661s # {
661s # g_value_unset (&data->orig_value);
661s # g_free (data);
661s # }
661s #
661s # static gboolean
661s # _g_strv_equal0 (gchar **a, gchar **b)
661s # {
661s # gboolean ret = FALSE;
661s # guint n;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # if (g_strv_length (a) != g_strv_length (b))
661s # goto out;
661s # for (n = 0; a[n] != NULL; n++)
661s # if (g_strcmp0 (a[n], b[n]) != 0)
661s # goto out;
661s # ret = TRUE;
661s # out:
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _g_variant_equal0 (GVariant *a, GVariant *b)
661s # {
661s # gboolean ret = FALSE;
661s # if (a == NULL && b == NULL)
661s # {
661s # ret = TRUE;
661s # goto out;
661s # }
661s # if (a == NULL || b == NULL)
661s # goto out;
661s # ret = g_variant_equal (a, b);
661s # out:
661s # return ret;
661s # }
661s #
661s # G_GNUC_UNUSED static gboolean
661s # _g_value_equal (const GValue *a, const GValue *b)
661s # {
661s # gboolean ret = FALSE;
661s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
661s # switch (G_VALUE_TYPE (a))
661s # {
661s # case G_TYPE_BOOLEAN:
661s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
661s # break;
661s # case G_TYPE_UCHAR:
661s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
661s # break;
661s # case G_TYPE_INT:
661s # ret = (g_value_get_int (a) == g_value_get_int (b));
661s # break;
661s # case G_TYPE_UINT:
661s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
661s # break;
661s # case G_TYPE_INT64:
661s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
661s # break;
661s # case G_TYPE_UINT64:
661s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
661s # break;
661s # case G_TYPE_DOUBLE:
661s # {
661s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
661s # gdouble da = g_value_get_double (a);
661s # gdouble db = g_value_get_double (b);
661s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
661s # }
661s # break;
661s # case G_TYPE_STRING:
661s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
661s # break;
661s # case G_TYPE_VARIANT:
661s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
661s # break;
661s # default:
661s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
661s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
661s # else
661s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
661s # break;
661s # }
661s # return ret;
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.UsefulInterface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectUsefulInterface
661s # * @title: OrgProjectUsefulInterface
661s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
661s # */
661s #
661s # enum
661s # {
661s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL,
661s # };
661s #
661s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 };
661s #
661s # /* ---- Introspection data for org.project.UsefulInterface ---- */
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SimpleSignal",
661s # NULL,
661s # NULL
661s # },
661s # "simple-signal"
661s # };
661s #
661s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] =
661s # {
661s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.UsefulInterface",
661s # NULL,
661s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-useful-interface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_useful_interface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_useful_interface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_useful_interface_signal_marshal_simple_signal (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__VOID (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectUsefulInterface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
661s # */
661s #
661s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # /* GObject signals for received D-Bus signals: */
661s # /**
661s # * OrgProjectUsefulInterface::simple-signal:
661s # * @object: A #OrgProjectUsefulInterface.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] =
661s # g_signal_new ("simple-signal",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal),
661s # NULL,
661s # NULL,
661s # org_project_useful_interface_signal_marshal_simple_signal,
661s # G_TYPE_NONE,
661s # 0);
661s #
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_emit_simple_signal:
661s # * @object: A #OrgProjectUsefulInterface.
661s # *
661s # * Emits the "SimpleSignal" D-Bus signal.
661s # */
661s # void
661s # org_project_useful_interface_emit_simple_signal (
661s # OrgProjectUsefulInterface *object)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0);
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxy:
661s # *
661s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceProxy.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
661s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
661s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_useful_interface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # g_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);
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeleton:
661s # *
661s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectUsefulInterfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_useful_interface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_useful_interface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_useful_interface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
661s # {
661s # _org_project_useful_interface_skeleton_handle_method_call,
661s # _org_project_useful_interface_skeleton_handle_get_property,
661s # _org_project_useful_interface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_useful_interface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # _org_project_useful_interface_on_signal_simple_signal (
661s # OrgProjectUsefulInterface *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_useful_interface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface)
661s # {
661s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal;
661s # }
661s #
661s # /**
661s # * org_project_useful_interface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectUsefulInterface *
661s # org_project_useful_interface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
661s # }
661s #
661s # /* ------------------------------------------------------------------------
661s # * Code for interface org.project.OtherIface
661s # * ------------------------------------------------------------------------
661s # */
661s #
661s # /**
661s # * SECTION:OrgProjectOtherIface
661s # * @title: OrgProjectOtherIface
661s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface
661s # *
661s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C.
661s # */
661s #
661s # enum
661s # {
661s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL,
661s # };
661s #
661s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 };
661s #
661s # /* ---- Introspection data for org.project.OtherIface ---- */
661s #
661s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal =
661s # {
661s # {
661s # -1,
661s # (gchar *) "SimpleSignal",
661s # NULL,
661s # NULL
661s # },
661s # "simple-signal"
661s # };
661s #
661s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] =
661s # {
661s # &_org_project_other_iface_signal_info_simple_signal.parent_struct,
661s # NULL
661s # };
661s #
661s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info =
661s # {
661s # {
661s # -1,
661s # (gchar *) "org.project.OtherIface",
661s # NULL,
661s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers,
661s # NULL,
661s # NULL
661s # },
661s # "org-project-other-iface",
661s # };
661s #
661s #
661s # /**
661s # * org_project_other_iface_interface_info:
661s # *
661s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface.
661s # *
661s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
661s # */
661s # GDBusInterfaceInfo *
661s # org_project_other_iface_interface_info (void)
661s # {
661s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct;
661s # }
661s #
661s # /**
661s # * org_project_other_iface_override_properties:
661s # * @klass: The class structure for a #GObject derived class.
661s # * @property_id_begin: The property id to assign to the first overridden property.
661s # *
661s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class.
661s # * The properties are overridden in the order they are defined.
661s # *
661s # * Returns: The last property id.
661s # */
661s # guint
661s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
661s # {
661s # return property_id_begin - 1;
661s # }
661s #
661s #
661s # inline static void
661s # org_project_other_iface_signal_marshal_simple_signal (
661s # GClosure *closure,
661s # GValue *return_value,
661s # unsigned int n_param_values,
661s # const GValue *param_values,
661s # void *invocation_hint,
661s # void *marshal_data)
661s # {
661s # g_cclosure_marshal_VOID__VOID (closure,
661s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
661s # }
661s #
661s #
661s # /**
661s # * OrgProjectOtherIface:
661s # *
661s # * Abstract interface type for the D-Bus interface org.project.OtherIface.
661s # */
661s #
661s # /**
661s # * OrgProjectOtherIfaceIface:
661s # * @parent_iface: The parent interface.
661s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal.
661s # *
661s # * Virtual table for the D-Bus interface org.project.OtherIface.
661s # */
661s #
661s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface;
661s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT)
661s #
661s # static void
661s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface)
661s # {
661s # /* GObject signals for received D-Bus signals: */
661s # /**
661s # * OrgProjectOtherIface::simple-signal:
661s # * @object: A #OrgProjectOtherIface.
661s # *
661s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
661s # *
661s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
661s # */
661s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] =
661s # g_signal_new ("simple-signal",
661s # G_TYPE_FROM_INTERFACE (iface),
661s # G_SIGNAL_RUN_LAST,
661s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal),
661s # NULL,
661s # NULL,
661s # org_project_other_iface_signal_marshal_simple_signal,
661s # G_TYPE_NONE,
661s # 0);
661s #
661s # }
661s #
661s # /**
661s # * org_project_other_iface_emit_simple_signal:
661s # * @object: A #OrgProjectOtherIface.
661s # *
661s # * Emits the "SimpleSignal" D-Bus signal.
661s # */
661s # void
661s # org_project_other_iface_emit_simple_signal (
661s # OrgProjectOtherIface *object)
661s # {
661s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0);
661s # }
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectOtherIfaceProxy:
661s # *
661s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectOtherIfaceProxyClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectOtherIfaceProxy.
661s # */
661s #
661s # struct _OrgProjectOtherIfaceProxyPrivate
661s # {
661s # GData *qdata;
661s # };
661s #
661s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface);
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_other_iface_proxy_finalize (GObject *object)
661s # {
661s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object);
661s # g_datalist_clear (&proxy->priv->qdata);
661s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
661s # guint prop_id G_GNUC_UNUSED,
661s # const GValue *value G_GNUC_UNUSED,
661s # GParamSpec *pspec G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy,
661s # const gchar *sender_name G_GNUC_UNUSED,
661s # const gchar *signal_name,
661s # GVariant *parameters)
661s # {
661s # _ExtendedGDBusSignalInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # gsize n;
661s # guint signal_id;
661s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name);
661s # if (info == NULL)
661s # return;
661s # num_params = g_variant_n_children (parameters);
661s # paramv = g_new0 (GValue, num_params + 1);
661s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE);
661s # g_value_set_object (¶mv[0], proxy);
661s # g_variant_iter_init (&iter, parameters);
661s # n = 1;
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
661s # g_signal_emitv (paramv, signal_id, 0, NULL);
661s # for (n = 0; n < num_params + 1; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static void
661s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
661s # GVariant *changed_properties,
661s # const gchar *const *invalidated_properties)
661s # {
661s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy);
661s # guint n;
661s # const gchar *key;
661s # GVariantIter *iter;
661s # _ExtendedGDBusPropertyInfo *info;
661s # g_variant_get (changed_properties, "a{sv}", &iter);
661s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key);
661s # g_datalist_remove_data (&proxy->priv->qdata, key);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # g_variant_iter_free (iter);
661s # for (n = 0; invalidated_properties[n] != NULL; n++)
661s # {
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]);
661s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
661s # if (info != NULL)
661s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
661s # }
661s # }
661s #
661s # static void
661s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy);
661s # #else
661s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate);
661s # #endif
661s #
661s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ());
661s # }
661s #
661s # static void
661s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusProxyClass *proxy_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_other_iface_proxy_finalize;
661s # gobject_class->get_property = org_project_other_iface_proxy_get_property;
661s # gobject_class->set_property = org_project_other_iface_proxy_set_property;
661s #
661s # proxy_class = G_DBUS_PROXY_CLASS (klass);
661s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal;
661s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # /**
661s # * org_project_other_iface_proxy_new:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation.
661s # *
661s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_other_iface_proxy_new (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_other_iface_proxy_new_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_other_iface_proxy_new().
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherIface *
661s # org_project_other_iface_proxy_new_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_other_iface_proxy_new_sync:
661s # * @connection: A #GDBusConnection.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherIface *
661s # org_project_other_iface_proxy_new_sync (
661s # GDBusConnection *connection,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /**
661s # * org_project_other_iface_proxy_new_for_bus:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
661s # * @user_data: User data to pass to @callback.
661s # *
661s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
661s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation.
661s # *
661s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
661s # */
661s # void
661s # org_project_other_iface_proxy_new_for_bus (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GAsyncReadyCallback callback,
661s # gpointer user_data)
661s # {
661s # 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);
661s # }
661s #
661s # /**
661s # * org_project_other_iface_proxy_new_for_bus_finish:
661s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus().
661s # * @error: Return location for error or %NULL
661s # *
661s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus().
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherIface *
661s # org_project_other_iface_proxy_new_for_bus_finish (
661s # GAsyncResult *res,
661s # GError **error)
661s # {
661s # GObject *ret;
661s # GObject *source_object;
661s # source_object = g_async_result_get_source_object (res);
661s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
661s # g_object_unref (source_object);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s # /**
661s # * org_project_other_iface_proxy_new_for_bus_sync:
661s # * @bus_type: A #GBusType.
661s # * @flags: Flags from the #GDBusProxyFlags enumeration.
661s # * @name: A bus name (well-known or unique).
661s # * @object_path: An object path.
661s # * @cancellable: (nullable): A #GCancellable or %NULL.
661s # * @error: Return location for error or %NULL
661s # *
661s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
661s # *
661s # * The calling thread is blocked until a reply is received.
661s # *
661s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
661s # */
661s # OrgProjectOtherIface *
661s # org_project_other_iface_proxy_new_for_bus_sync (
661s # GBusType bus_type,
661s # GDBusProxyFlags flags,
661s # const gchar *name,
661s # const gchar *object_path,
661s # GCancellable *cancellable,
661s # GError **error)
661s # {
661s # GInitable *ret;
661s # 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);
661s # if (ret != NULL)
661s # return ORG_PROJECT_OTHER_IFACE (ret);
661s # else
661s # return NULL;
661s # }
661s #
661s #
661s # /* ------------------------------------------------------------------------ */
661s #
661s # /**
661s # * OrgProjectOtherIfaceSkeleton:
661s # *
661s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
661s # */
661s #
661s # /**
661s # * OrgProjectOtherIfaceSkeletonClass:
661s # * @parent_class: The parent class.
661s # *
661s # * Class structure for #OrgProjectOtherIfaceSkeleton.
661s # */
661s #
661s # struct _OrgProjectOtherIfaceSkeletonPrivate
661s # {
661s # GValue *properties;
661s # GList *changed_properties;
661s # GSource *changed_properties_idle_source;
661s # GMainContext *context;
661s # GMutex lock;
661s # };
661s #
661s # static void
661s # _org_project_other_iface_skeleton_handle_method_call (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name,
661s # const gchar *method_name,
661s # GVariant *parameters,
661s # GDBusMethodInvocation *invocation,
661s # gpointer user_data)
661s # {
661s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
661s # _ExtendedGDBusMethodInfo *info;
661s # GVariantIter iter;
661s # GVariant *child;
661s # GValue *paramv;
661s # gsize num_params;
661s # guint num_extra;
661s # gsize n;
661s # guint signal_id;
661s # GValue return_value = G_VALUE_INIT;
661s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
661s # g_assert (info != NULL);
661s # num_params = g_variant_n_children (parameters);
661s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
661s # n = 0;
661s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE);
661s # g_value_set_object (¶mv[n++], skeleton);
661s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
661s # g_value_set_object (¶mv[n++], invocation);
661s # if (info->pass_fdlist)
661s # {
661s # #ifdef G_OS_UNIX
661s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
661s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
661s # #else
661s # g_assert_not_reached ();
661s # #endif
661s # }
661s # g_variant_iter_init (&iter, parameters);
661s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
661s # {
661s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
661s # if (arg_info->use_gvariant)
661s # {
661s # g_value_init (¶mv[n], G_TYPE_VARIANT);
661s # g_value_set_variant (¶mv[n], child);
661s # n++;
661s # }
661s # else
661s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
661s # g_variant_unref (child);
661s # }
661s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
661s # g_value_init (&return_value, G_TYPE_BOOLEAN);
661s # g_signal_emitv (paramv, signal_id, 0, &return_value);
661s # if (!g_value_get_boolean (&return_value))
661s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
661s # g_value_unset (&return_value);
661s # for (n = 0; n < num_params + num_extra; n++)
661s # g_value_unset (¶mv[n]);
661s # g_free (paramv);
661s # }
661s #
661s # static GVariant *
661s # _org_project_other_iface_skeleton_handle_get_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # GVariant *ret;
661s # ret = NULL;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # g_value_init (&value, pspec->value_type);
661s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
661s # g_value_unset (&value);
661s # }
661s # return ret;
661s # }
661s #
661s # static gboolean
661s # _org_project_other_iface_skeleton_handle_set_property (
661s # GDBusConnection *connection G_GNUC_UNUSED,
661s # const gchar *sender G_GNUC_UNUSED,
661s # const gchar *object_path G_GNUC_UNUSED,
661s # const gchar *interface_name G_GNUC_UNUSED,
661s # const gchar *property_name,
661s # GVariant *variant,
661s # GError **error,
661s # gpointer user_data)
661s # {
661s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
661s # GValue value = G_VALUE_INIT;
661s # GParamSpec *pspec;
661s # _ExtendedGDBusPropertyInfo *info;
661s # gboolean ret;
661s # ret = FALSE;
661s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
661s # g_assert (info != NULL);
661s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
661s # if (pspec == NULL)
661s # {
661s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
661s # }
661s # else
661s # {
661s # if (info->use_gvariant)
661s # g_value_set_variant (&value, variant);
661s # else
661s # g_dbus_gvariant_to_gvalue (variant, &value);
661s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
661s # g_value_unset (&value);
661s # ret = TRUE;
661s # }
661s # return ret;
661s # }
661s #
661s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable =
661s # {
661s # _org_project_other_iface_skeleton_handle_method_call,
661s # _org_project_other_iface_skeleton_handle_get_property,
661s # _org_project_other_iface_skeleton_handle_set_property,
661s # {NULL}
661s # };
661s #
661s # static GDBusInterfaceInfo *
661s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return org_project_other_iface_interface_info ();
661s # }
661s #
661s # static GDBusInterfaceVTable *
661s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
661s # {
661s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable;
661s # }
661s #
661s # static GVariant *
661s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
661s # {
661s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton);
661s #
661s # GVariantBuilder builder;
661s # guint n;
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
661s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #else
661s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
661s # #endif
661s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL)
661s # goto out;
661s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++)
661s # {
661s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n];
661s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
661s # {
661s # GVariant *value;
661s # 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);
661s # if (value != NULL)
661s # {
661s # g_variant_take_ref (value);
661s # g_variant_builder_add (&builder, "{sv}", info->name, value);
661s # g_variant_unref (value);
661s # }
661s # }
661s # }
661s # out:
661s # return g_variant_builder_end (&builder);
661s # }
661s #
661s # static void
661s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
661s # {
661s # }
661s #
661s # static void
661s # _org_project_other_iface_on_signal_simple_signal (
661s # OrgProjectOtherIface *object)
661s # {
661s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
661s #
661s # GList *connections, *l;
661s # GVariant *signal_variant;
661s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
661s #
661s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
661s # for (l = connections; l != NULL; l = l->next)
661s # {
661s # GDBusConnection *connection = l->data;
661s # g_dbus_connection_emit_signal (connection,
661s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal",
661s # signal_variant, NULL);
661s # }
661s # g_variant_unref (signal_variant);
661s # g_list_free_full (connections, g_object_unref);
661s # }
661s #
661s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface);
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton)
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
661s #
661s # #else
661s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
661s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
661s #
661s # #endif
661s # static void
661s # org_project_other_iface_skeleton_finalize (GObject *object)
661s # {
661s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
661s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
661s # if (skeleton->priv->changed_properties_idle_source != NULL)
661s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
661s # g_main_context_unref (skeleton->priv->context);
661s # g_mutex_clear (&skeleton->priv->lock);
661s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object);
661s # }
661s #
661s # static void
661s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton)
661s # {
661s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
661s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton);
661s # #else
661s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate);
661s # #endif
661s #
661s # g_mutex_init (&skeleton->priv->lock);
661s # skeleton->priv->context = g_main_context_ref_thread_default ();
661s # }
661s #
661s # static void
661s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass)
661s # {
661s # GObjectClass *gobject_class;
661s # GDBusInterfaceSkeletonClass *skeleton_class;
661s #
661s # gobject_class = G_OBJECT_CLASS (klass);
661s # gobject_class->finalize = org_project_other_iface_skeleton_finalize;
661s #
661s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
661s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info;
661s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties;
661s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush;
661s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable;
661s #
661s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
661s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate));
661s # #endif
661s # }
661s #
661s # static void
661s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface)
661s # {
661s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal;
661s # }
661s #
661s # /**
661s # * org_project_other_iface_skeleton_new:
661s # *
661s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface.
661s # *
661s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object.
661s # */
661s # OrgProjectOtherIface *
661s # org_project_other_iface_skeleton_new (void)
661s # {
661s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL));
661s # }
661s # Error:
662s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal
662s # gdbus-codegen: /usr/bin/gdbus-codegen
662s # tmpdir: /tmp/tmpi96k8q_d
662s # /tmp/tmpi96k8q_d/tmppugi7hgd.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi96k8q_d/tmppugi7hgd.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.OtherSignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectOtherSignalingIface
662s # * @title: OrgProjectOtherSignalingIface
662s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.OtherSignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-other-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_other_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_other_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_other_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectOtherSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectOtherSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface.
662s # */
662s #
662s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectOtherSignalingIface::simple-signal:
662s # * @object: A #OrgProjectOtherSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_other_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectOtherSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_other_signaling_iface_emit_simple_signal (
662s # OrgProjectOtherSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectOtherSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectOtherSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectOtherSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectOtherSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_other_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_other_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectOtherSignalingIface *
662s # org_project_other_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectOtherSignalingIface *
662s # org_project_other_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_other_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_other_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectOtherSignalingIface *
662s # org_project_other_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectOtherSignalingIface *
662s # org_project_other_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectOtherSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectOtherSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_other_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_other_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_other_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_other_signaling_iface_skeleton_handle_method_call,
662s # _org_project_other_signaling_iface_skeleton_handle_get_property,
662s # _org_project_other_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_other_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_other_signaling_iface_on_signal_simple_signal (
662s # OrgProjectOtherSignalingIface *object)
662s # {
662s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_other_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal;
662s # }
662s #
662s # /**
662s # * org_project_other_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectOtherSignalingIface *
662s # org_project_other_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args
662s # gdbus-codegen: /usr/bin/gdbus-codegen
662s # tmpdir: /tmp/tmpbiz2tt44
662s # /tmp/tmpbiz2tt44/tmph2nozcbs.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmph2nozcbs.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_b",
662s # (gchar *) "b",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalB",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-b"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__BOOLEAN (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-b:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_b: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
662s # g_signal_new ("single-arg-signal-b",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_BOOLEAN);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_b:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_b: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalB" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_b (
662s # OrgProjectSignalingIface *object,
662s # gboolean arg_arg_b)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
662s # OrgProjectSignalingIface *object,
662s # gboolean arg_arg_b)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
662s # arg_arg_b));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmp98pppwlv.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmp98pppwlv.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_y",
662s # (gchar *) "y",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalY",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-y"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__UCHAR (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-y:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_y: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
662s # g_signal_new ("single-arg-signal-y",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_UCHAR);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_y:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_y: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalY" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_y (
662s # OrgProjectSignalingIface *object,
662s # guchar arg_arg_y)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
662s # OrgProjectSignalingIface *object,
662s # guchar arg_arg_y)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
662s # arg_arg_y));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmpmb5kei32.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpmb5kei32.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_n",
662s # (gchar *) "n",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalN",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-n"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__INT (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-n:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_n: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
662s # g_signal_new ("single-arg-signal-n",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_INT);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_n:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_n: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalN" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_n (
662s # OrgProjectSignalingIface *object,
662s # gint16 arg_arg_n)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
662s # OrgProjectSignalingIface *object,
662s # gint16 arg_arg_n)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
662s # arg_arg_n));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmpa3npjymj.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpa3npjymj.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_q",
662s # (gchar *) "q",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalQ",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-q"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__UINT (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-q:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_q: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
662s # g_signal_new ("single-arg-signal-q",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_UINT);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_q:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_q: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalQ" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_q (
662s # OrgProjectSignalingIface *object,
662s # guint16 arg_arg_q)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
662s # OrgProjectSignalingIface *object,
662s # guint16 arg_arg_q)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
662s # arg_arg_q));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmpe0n7whaa.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpe0n7whaa.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_i",
662s # (gchar *) "i",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalI",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-i"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__INT (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-i:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_i: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
662s # g_signal_new ("single-arg-signal-i",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_INT);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_i:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_i: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalI" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_i (
662s # OrgProjectSignalingIface *object,
662s # gint arg_arg_i)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
662s # OrgProjectSignalingIface *object,
662s # gint arg_arg_i)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
662s # arg_arg_i));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmp506tfr9c.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmp506tfr9c.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_u",
662s # (gchar *) "u",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalU",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-u"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__UINT (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-u:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_u: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
662s # g_signal_new ("single-arg-signal-u",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_UINT);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_u:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_u: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalU" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_u (
662s # OrgProjectSignalingIface *object,
662s # guint arg_arg_u)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
662s # OrgProjectSignalingIface *object,
662s # guint arg_arg_u)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
662s # arg_arg_u));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmp4xcwvj9i.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmp4xcwvj9i.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # static void
662s # _g_dbus_codegen_marshal_VOID__INT64 (
662s # GClosure *closure,
662s # GValue *return_value G_GNUC_UNUSED,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint G_GNUC_UNUSED,
662s # void *marshal_data)
662s # {
662s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
662s # (void *data1,
662s # gint64 arg_arg_x,
662s # void *data2);
662s # _GDbusCodegenMarshalVoid_Int64Func callback;
662s # GCClosure *cc = (GCClosure*) closure;
662s # void *data1, *data2;
662s #
662s # g_return_if_fail (n_param_values == 2);
662s #
662s # if (G_CCLOSURE_SWAP_DATA (closure))
662s # {
662s # data1 = closure->data;
662s # data2 = g_value_peek_pointer (param_values + 0);
662s # }
662s # else
662s # {
662s # data1 = g_value_peek_pointer (param_values + 0);
662s # data2 = closure->data;
662s # }
662s #
662s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
662s # (marshal_data ? marshal_data : cc->callback);
662s #
662s # callback (data1,
662s # g_marshal_value_peek_int64 (param_values + 1),
662s # data2);
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_x",
662s # (gchar *) "x",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalX",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-x"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-x:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_x: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
662s # g_signal_new ("single-arg-signal-x",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_INT64);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_x:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_x: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalX" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_x (
662s # OrgProjectSignalingIface *object,
662s # gint64 arg_arg_x)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
662s # OrgProjectSignalingIface *object,
662s # gint64 arg_arg_x)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
662s # arg_arg_x));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmp5mk_reoo.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmp5mk_reoo.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # static void
662s # _g_dbus_codegen_marshal_VOID__UINT64 (
662s # GClosure *closure,
662s # GValue *return_value G_GNUC_UNUSED,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint G_GNUC_UNUSED,
662s # void *marshal_data)
662s # {
662s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
662s # (void *data1,
662s # guint64 arg_arg_t,
662s # void *data2);
662s # _GDbusCodegenMarshalVoid_Uint64Func callback;
662s # GCClosure *cc = (GCClosure*) closure;
662s # void *data1, *data2;
662s #
662s # g_return_if_fail (n_param_values == 2);
662s #
662s # if (G_CCLOSURE_SWAP_DATA (closure))
662s # {
662s # data1 = closure->data;
662s # data2 = g_value_peek_pointer (param_values + 0);
662s # }
662s # else
662s # {
662s # data1 = g_value_peek_pointer (param_values + 0);
662s # data2 = closure->data;
662s # }
662s #
662s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
662s # (marshal_data ? marshal_data : cc->callback);
662s #
662s # callback (data1,
662s # g_marshal_value_peek_uint64 (param_values + 1),
662s # data2);
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_t",
662s # (gchar *) "t",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalT",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-t"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-t:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_t: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
662s # g_signal_new ("single-arg-signal-t",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_UINT64);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_t:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_t: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalT" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_t (
662s # OrgProjectSignalingIface *object,
662s # guint64 arg_arg_t)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
662s # OrgProjectSignalingIface *object,
662s # guint64 arg_arg_t)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
662s # arg_arg_t));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmp241ze032.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmp241ze032.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_d",
662s # (gchar *) "d",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalD",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-d"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__DOUBLE (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-d:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_d: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
662s # g_signal_new ("single-arg-signal-d",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_DOUBLE);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_d:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_d: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalD" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_d (
662s # OrgProjectSignalingIface *object,
662s # gdouble arg_arg_d)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
662s # OrgProjectSignalingIface *object,
662s # gdouble arg_arg_d)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
662s # arg_arg_d));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmpcmwyom_k.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpcmwyom_k.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_s",
662s # (gchar *) "s",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalS",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-s"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__STRING (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-s:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_s: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
662s # g_signal_new ("single-arg-signal-s",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_STRING);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_s:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_s: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalS" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_s (
662s # OrgProjectSignalingIface *object,
662s # const gchar *arg_arg_s)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
662s # OrgProjectSignalingIface *object,
662s # const gchar *arg_arg_s)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
662s # arg_arg_s));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmptfrmbhjk.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmptfrmbhjk.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_o",
662s # (gchar *) "o",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalO",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-o"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__STRING (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-o:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_o: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
662s # g_signal_new ("single-arg-signal-o",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_STRING);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_o:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_o: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalO" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_o (
662s # OrgProjectSignalingIface *object,
662s # const gchar *arg_arg_o)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxyClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceProxy.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceProxyPrivate
662s # {
662s # GData *qdata;
662s # };
662s #
662s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_proxy_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
662s # g_datalist_clear (&proxy->priv->qdata);
662s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
662s # guint prop_id G_GNUC_UNUSED,
662s # const GValue *value G_GNUC_UNUSED,
662s # GParamSpec *pspec G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
662s # const gchar *sender_name G_GNUC_UNUSED,
662s # const gchar *signal_name,
662s # GVariant *parameters)
662s # {
662s # _ExtendedGDBusSignalInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # gsize n;
662s # guint signal_id;
662s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
662s # if (info == NULL)
662s # return;
662s # num_params = g_variant_n_children (parameters);
662s # paramv = g_new0 (GValue, num_params + 1);
662s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[0], proxy);
662s # g_variant_iter_init (&iter, parameters);
662s # n = 1;
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_signal_emitv (paramv, signal_id, 0, NULL);
662s # for (n = 0; n < num_params + 1; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
662s # GVariant *changed_properties,
662s # const gchar *const *invalidated_properties)
662s # {
662s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
662s # guint n;
662s # const gchar *key;
662s # GVariantIter *iter;
662s # _ExtendedGDBusPropertyInfo *info;
662s # g_variant_get (changed_properties, "a{sv}", &iter);
662s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
662s # g_datalist_remove_data (&proxy->priv->qdata, key);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # g_variant_iter_free (iter);
662s # for (n = 0; invalidated_properties[n] != NULL; n++)
662s # {
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
662s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
662s # if (info != NULL)
662s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
662s # }
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
662s # #else
662s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
662s # #endif
662s #
662s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusProxyClass *proxy_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
662s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
662s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
662s #
662s # proxy_class = G_DBUS_PROXY_CLASS (klass);
662s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
662s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_sync:
662s # * @connection: A #GDBusConnection.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_sync (
662s # GDBusConnection *connection,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
662s # * @user_data: User data to pass to @callback.
662s # *
662s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
662s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
662s # */
662s # void
662s # org_project_signaling_iface_proxy_new_for_bus (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GAsyncReadyCallback callback,
662s # gpointer user_data)
662s # {
662s # 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);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_finish:
662s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
662s # * @error: Return location for error or %NULL
662s # *
662s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_finish (
662s # GAsyncResult *res,
662s # GError **error)
662s # {
662s # GObject *ret;
662s # GObject *source_object;
662s # source_object = g_async_result_get_source_object (res);
662s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
662s # g_object_unref (source_object);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_proxy_new_for_bus_sync:
662s # * @bus_type: A #GBusType.
662s # * @flags: Flags from the #GDBusProxyFlags enumeration.
662s # * @name: A bus name (well-known or unique).
662s # * @object_path: An object path.
662s # * @cancellable: (nullable): A #GCancellable or %NULL.
662s # * @error: Return location for error or %NULL
662s # *
662s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
662s # *
662s # * The calling thread is blocked until a reply is received.
662s # *
662s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_proxy_new_for_bus_sync (
662s # GBusType bus_type,
662s # GDBusProxyFlags flags,
662s # const gchar *name,
662s # const gchar *object_path,
662s # GCancellable *cancellable,
662s # GError **error)
662s # {
662s # GInitable *ret;
662s # 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);
662s # if (ret != NULL)
662s # return ORG_PROJECT_SIGNALING_IFACE (ret);
662s # else
662s # return NULL;
662s # }
662s #
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeleton:
662s # *
662s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceSkeletonClass:
662s # * @parent_class: The parent class.
662s # *
662s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
662s # */
662s #
662s # struct _OrgProjectSignalingIfaceSkeletonPrivate
662s # {
662s # GValue *properties;
662s # GList *changed_properties;
662s # GSource *changed_properties_idle_source;
662s # GMainContext *context;
662s # GMutex lock;
662s # };
662s #
662s # static void
662s # _org_project_signaling_iface_skeleton_handle_method_call (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name,
662s # const gchar *method_name,
662s # GVariant *parameters,
662s # GDBusMethodInvocation *invocation,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # _ExtendedGDBusMethodInfo *info;
662s # GVariantIter iter;
662s # GVariant *child;
662s # GValue *paramv;
662s # gsize num_params;
662s # guint num_extra;
662s # gsize n;
662s # guint signal_id;
662s # GValue return_value = G_VALUE_INIT;
662s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
662s # g_assert (info != NULL);
662s # num_params = g_variant_n_children (parameters);
662s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
662s # n = 0;
662s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_set_object (¶mv[n++], skeleton);
662s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
662s # g_value_set_object (¶mv[n++], invocation);
662s # if (info->pass_fdlist)
662s # {
662s # #ifdef G_OS_UNIX
662s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
662s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
662s # #else
662s # g_assert_not_reached ();
662s # #endif
662s # }
662s # g_variant_iter_init (&iter, parameters);
662s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
662s # {
662s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
662s # if (arg_info->use_gvariant)
662s # {
662s # g_value_init (¶mv[n], G_TYPE_VARIANT);
662s # g_value_set_variant (¶mv[n], child);
662s # n++;
662s # }
662s # else
662s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
662s # g_variant_unref (child);
662s # }
662s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
662s # g_value_init (&return_value, G_TYPE_BOOLEAN);
662s # g_signal_emitv (paramv, signal_id, 0, &return_value);
662s # if (!g_value_get_boolean (&return_value))
662s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
662s # g_value_unset (&return_value);
662s # for (n = 0; n < num_params + num_extra; n++)
662s # g_value_unset (¶mv[n]);
662s # g_free (paramv);
662s # }
662s #
662s # static GVariant *
662s # _org_project_signaling_iface_skeleton_handle_get_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # GVariant *ret;
662s # ret = NULL;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # g_value_init (&value, pspec->value_type);
662s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
662s # g_value_unset (&value);
662s # }
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _org_project_signaling_iface_skeleton_handle_set_property (
662s # GDBusConnection *connection G_GNUC_UNUSED,
662s # const gchar *sender G_GNUC_UNUSED,
662s # const gchar *object_path G_GNUC_UNUSED,
662s # const gchar *interface_name G_GNUC_UNUSED,
662s # const gchar *property_name,
662s # GVariant *variant,
662s # GError **error,
662s # gpointer user_data)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
662s # GValue value = G_VALUE_INIT;
662s # GParamSpec *pspec;
662s # _ExtendedGDBusPropertyInfo *info;
662s # gboolean ret;
662s # ret = FALSE;
662s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
662s # g_assert (info != NULL);
662s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
662s # if (pspec == NULL)
662s # {
662s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
662s # }
662s # else
662s # {
662s # if (info->use_gvariant)
662s # g_value_set_variant (&value, variant);
662s # else
662s # g_dbus_gvariant_to_gvalue (variant, &value);
662s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
662s # g_value_unset (&value);
662s # ret = TRUE;
662s # }
662s # return ret;
662s # }
662s #
662s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
662s # {
662s # _org_project_signaling_iface_skeleton_handle_method_call,
662s # _org_project_signaling_iface_skeleton_handle_get_property,
662s # _org_project_signaling_iface_skeleton_handle_set_property,
662s # {NULL}
662s # };
662s #
662s # static GDBusInterfaceInfo *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return org_project_signaling_iface_interface_info ();
662s # }
662s #
662s # static GDBusInterfaceVTable *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
662s # {
662s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
662s # }
662s #
662s # static GVariant *
662s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
662s #
662s # GVariantBuilder builder;
662s # guint n;
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
662s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #else
662s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
662s # #endif
662s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
662s # goto out;
662s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
662s # {
662s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
662s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
662s # {
662s # GVariant *value;
662s # 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);
662s # if (value != NULL)
662s # {
662s # g_variant_take_ref (value);
662s # g_variant_builder_add (&builder, "{sv}", info->name, value);
662s # g_variant_unref (value);
662s # }
662s # }
662s # }
662s # out:
662s # return g_variant_builder_end (&builder);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
662s # {
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void
662s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
662s # OrgProjectSignalingIface *object,
662s # const gchar *arg_arg_o)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s #
662s # GList *connections, *l;
662s # GVariant *signal_variant;
662s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
662s #
662s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
662s # arg_arg_o));
662s # for (l = connections; l != NULL; l = l->next)
662s # {
662s # GDBusConnection *connection = l->data;
662s # g_dbus_connection_emit_signal (connection,
662s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
662s # signal_variant, NULL);
662s # }
662s # g_variant_unref (signal_variant);
662s # g_list_free_full (connections, g_object_unref);
662s # }
662s #
662s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #else
662s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
662s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
662s #
662s # #endif
662s # static void
662s # org_project_signaling_iface_skeleton_finalize (GObject *object)
662s # {
662s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
662s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
662s # if (skeleton->priv->changed_properties_idle_source != NULL)
662s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
662s # g_main_context_unref (skeleton->priv->context);
662s # g_mutex_clear (&skeleton->priv->lock);
662s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
662s # {
662s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
662s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
662s # #else
662s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
662s # #endif
662s #
662s # g_mutex_init (&skeleton->priv->lock);
662s # skeleton->priv->context = g_main_context_ref_thread_default ();
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
662s # {
662s # GObjectClass *gobject_class;
662s # GDBusInterfaceSkeletonClass *skeleton_class;
662s #
662s # gobject_class = G_OBJECT_CLASS (klass);
662s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
662s #
662s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
662s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
662s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
662s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
662s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
662s #
662s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
662s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
662s # #endif
662s # }
662s #
662s # static void
662s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
662s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_skeleton_new:
662s # *
662s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
662s # *
662s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
662s # */
662s # OrgProjectSignalingIface *
662s # org_project_signaling_iface_skeleton_new (void)
662s # {
662s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
662s # }
662s # Error:
662s #
662s # /tmp/tmpbiz2tt44/tmprugmy1an.xml:
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s #
662s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmprugmy1an.xml', '--output', '-', '--body']
662s # Return code: 0
662s # Output:
662s # /*
662s # * This file is generated by gdbus-codegen, do not modify it.
662s # *
662s # * The license of this code is the same as for the D-Bus interface description
662s # * it was derived from. Note that it links to GLib, so must comply with the
662s # * LGPL linking clauses.
662s # */
662s #
662s # #ifdef HAVE_CONFIG_H
662s # # include "config.h"
662s # #endif
662s #
662s # #include
662s # #ifdef G_OS_UNIX
662s # # include
662s # #endif
662s #
662s # #ifdef G_ENABLE_DEBUG
662s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
662s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
662s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
662s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
662s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
662s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
662s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
662s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
662s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
662s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
662s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
662s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
662s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
662s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
662s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
662s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
662s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
662s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
662s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
662s # #else /* !G_ENABLE_DEBUG */
662s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
662s # * Do not access GValues directly in your code. Instead, use the
662s # * g_value_get_*() functions
662s # */
662s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
662s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
662s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
662s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
662s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
662s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
662s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
662s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
662s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
662s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
662s # #endif /* !G_ENABLE_DEBUG */
662s #
662s # typedef struct
662s # {
662s # GDBusArgInfo parent_struct;
662s # gboolean use_gvariant;
662s # } _ExtendedGDBusArgInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusMethodInfo parent_struct;
662s # const gchar *signal_name;
662s # gboolean pass_fdlist;
662s # } _ExtendedGDBusMethodInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusSignalInfo parent_struct;
662s # const gchar *signal_name;
662s # } _ExtendedGDBusSignalInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusPropertyInfo parent_struct;
662s # const gchar *hyphen_name;
662s # guint use_gvariant : 1;
662s # guint emits_changed_signal : 1;
662s # } _ExtendedGDBusPropertyInfo;
662s #
662s # typedef struct
662s # {
662s # GDBusInterfaceInfo parent_struct;
662s # const gchar *hyphen_name;
662s # } _ExtendedGDBusInterfaceInfo;
662s #
662s # typedef struct
662s # {
662s # const _ExtendedGDBusPropertyInfo *info;
662s # guint prop_id;
662s # GValue orig_value; /* the value before the change */
662s # } ChangedProperty;
662s #
662s # static void
662s # _changed_property_free (ChangedProperty *data)
662s # {
662s # g_value_unset (&data->orig_value);
662s # g_free (data);
662s # }
662s #
662s # static gboolean
662s # _g_strv_equal0 (gchar **a, gchar **b)
662s # {
662s # gboolean ret = FALSE;
662s # guint n;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # if (g_strv_length (a) != g_strv_length (b))
662s # goto out;
662s # for (n = 0; a[n] != NULL; n++)
662s # if (g_strcmp0 (a[n], b[n]) != 0)
662s # goto out;
662s # ret = TRUE;
662s # out:
662s # return ret;
662s # }
662s #
662s # static gboolean
662s # _g_variant_equal0 (GVariant *a, GVariant *b)
662s # {
662s # gboolean ret = FALSE;
662s # if (a == NULL && b == NULL)
662s # {
662s # ret = TRUE;
662s # goto out;
662s # }
662s # if (a == NULL || b == NULL)
662s # goto out;
662s # ret = g_variant_equal (a, b);
662s # out:
662s # return ret;
662s # }
662s #
662s # G_GNUC_UNUSED static gboolean
662s # _g_value_equal (const GValue *a, const GValue *b)
662s # {
662s # gboolean ret = FALSE;
662s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
662s # switch (G_VALUE_TYPE (a))
662s # {
662s # case G_TYPE_BOOLEAN:
662s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
662s # break;
662s # case G_TYPE_UCHAR:
662s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
662s # break;
662s # case G_TYPE_INT:
662s # ret = (g_value_get_int (a) == g_value_get_int (b));
662s # break;
662s # case G_TYPE_UINT:
662s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
662s # break;
662s # case G_TYPE_INT64:
662s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
662s # break;
662s # case G_TYPE_UINT64:
662s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
662s # break;
662s # case G_TYPE_DOUBLE:
662s # {
662s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
662s # gdouble da = g_value_get_double (a);
662s # gdouble db = g_value_get_double (b);
662s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
662s # }
662s # break;
662s # case G_TYPE_STRING:
662s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
662s # break;
662s # case G_TYPE_VARIANT:
662s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
662s # break;
662s # default:
662s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
662s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
662s # else
662s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
662s # break;
662s # }
662s # return ret;
662s # }
662s #
662s # /* ------------------------------------------------------------------------
662s # * Code for interface org.project.SignalingIface
662s # * ------------------------------------------------------------------------
662s # */
662s #
662s # /**
662s # * SECTION:OrgProjectSignalingIface
662s # * @title: OrgProjectSignalingIface
662s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
662s # *
662s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
662s # */
662s #
662s # enum
662s # {
662s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
662s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
662s # };
662s #
662s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
662s #
662s # /* ---- Introspection data for org.project.SignalingIface ---- */
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SimpleSignal",
662s # NULL,
662s # NULL
662s # },
662s # "simple-signal"
662s # };
662s #
662s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g =
662s # {
662s # {
662s # -1,
662s # (gchar *) "arg_g",
662s # (gchar *) "g",
662s # NULL
662s # },
662s # FALSE
662s # };
662s #
662s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
662s # {
662s # {
662s # -1,
662s # (gchar *) "SingleArgSignalG",
662s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
662s # NULL
662s # },
662s # "single-arg-signal-g"
662s # };
662s #
662s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
662s # {
662s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
662s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
662s # NULL
662s # };
662s #
662s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
662s # {
662s # {
662s # -1,
662s # (gchar *) "org.project.SignalingIface",
662s # NULL,
662s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
662s # NULL,
662s # NULL
662s # },
662s # "org-project-signaling-iface",
662s # };
662s #
662s #
662s # /**
662s # * org_project_signaling_iface_interface_info:
662s # *
662s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
662s # *
662s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
662s # */
662s # GDBusInterfaceInfo *
662s # org_project_signaling_iface_interface_info (void)
662s # {
662s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_override_properties:
662s # * @klass: The class structure for a #GObject derived class.
662s # * @property_id_begin: The property id to assign to the first overridden property.
662s # *
662s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
662s # * The properties are overridden in the order they are defined.
662s # *
662s # * Returns: The last property id.
662s # */
662s # guint
662s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
662s # {
662s # return property_id_begin - 1;
662s # }
662s #
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_simple_signal (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__VOID (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s # inline static void
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
662s # GClosure *closure,
662s # GValue *return_value,
662s # unsigned int n_param_values,
662s # const GValue *param_values,
662s # void *invocation_hint,
662s # void *marshal_data)
662s # {
662s # g_cclosure_marshal_VOID__STRING (closure,
662s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
662s # }
662s #
662s #
662s # /**
662s # * OrgProjectSignalingIface:
662s # *
662s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceIface:
662s # * @parent_iface: The parent interface.
662s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
662s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
662s # *
662s # * Virtual table for the D-Bus interface org.project.SignalingIface.
662s # */
662s #
662s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
662s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
662s #
662s # static void
662s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
662s # {
662s # /* GObject signals for received D-Bus signals: */
662s # /**
662s # * OrgProjectSignalingIface::simple-signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
662s # g_signal_new ("simple-signal",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_simple_signal,
662s # G_TYPE_NONE,
662s # 0);
662s #
662s # /**
662s # * OrgProjectSignalingIface::single-arg-signal-g:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_g: Argument.
662s # *
662s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
662s # *
662s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
662s # */
662s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
662s # g_signal_new ("single-arg-signal-g",
662s # G_TYPE_FROM_INTERFACE (iface),
662s # G_SIGNAL_RUN_LAST,
662s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
662s # NULL,
662s # NULL,
662s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
662s # G_TYPE_NONE,
662s # 1, G_TYPE_STRING);
662s #
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_simple_signal:
662s # * @object: A #OrgProjectSignalingIface.
662s # *
662s # * Emits the "SimpleSignal" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_simple_signal (
662s # OrgProjectSignalingIface *object)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
662s # }
662s #
662s # /**
662s # * org_project_signaling_iface_emit_single_arg_signal_g:
662s # * @object: A #OrgProjectSignalingIface.
662s # * @arg_arg_g: Argument to pass with the signal.
662s # *
662s # * Emits the "SingleArgSignalG" D-Bus signal.
662s # */
662s # void
662s # org_project_signaling_iface_emit_single_arg_signal_g (
662s # OrgProjectSignalingIface *object,
662s # const gchar *arg_arg_g)
662s # {
662s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g);
662s # }
662s #
662s # /* ------------------------------------------------------------------------ */
662s #
662s # /**
662s # * OrgProjectSignalingIfaceProxy:
662s # *
662s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
663s # OrgProjectSignalingIface *object,
663s # const gchar *arg_arg_g)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
663s # arg_arg_g));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s #
663s # /tmp/tmpbiz2tt44/tmpopepvodc.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpopepvodc.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.SignalingIface
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectSignalingIface
663s # * @title: OrgProjectSignalingIface
663s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
663s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
663s # };
663s #
663s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
663s #
663s # /* ---- Introspection data for org.project.SignalingIface ---- */
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SimpleSignal",
663s # NULL,
663s # NULL
663s # },
663s # "simple-signal"
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h =
663s # {
663s # {
663s # -1,
663s # (gchar *) "arg_h",
663s # (gchar *) "h",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SingleArgSignalH",
663s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
663s # NULL
663s # },
663s # "single-arg-signal-h"
663s # };
663s #
663s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.SignalingIface",
663s # NULL,
663s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-signaling-iface",
663s # };
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_signaling_iface_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_simple_signal (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VARIANT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectSignalingIface:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceIface:
663s # * @parent_iface: The parent interface.
663s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
663s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
663s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * OrgProjectSignalingIface::simple-signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
663s # g_signal_new ("simple-signal",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_simple_signal,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /**
663s # * OrgProjectSignalingIface::single-arg-signal-h:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_h: Argument.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
663s # g_signal_new ("single-arg-signal-h",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
663s # G_TYPE_NONE,
663s # 1, G_TYPE_VARIANT);
663s #
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_simple_signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * Emits the "SimpleSignal" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_single_arg_signal_h:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_h: Argument to pass with the signal.
663s # *
663s # * Emits the "SingleArgSignalH" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_single_arg_signal_h (
663s # OrgProjectSignalingIface *object,
663s # GVariant *arg_arg_h)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h);
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxy:
663s # *
663s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
663s # OrgProjectSignalingIface *object,
663s # GVariant *arg_arg_h)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
663s # arg_arg_h));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s #
663s # /tmp/tmpbiz2tt44/tmpep4hxott.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpep4hxott.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.SignalingIface
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectSignalingIface
663s # * @title: OrgProjectSignalingIface
663s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
663s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
663s # };
663s #
663s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
663s #
663s # /* ---- Introspection data for org.project.SignalingIface ---- */
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SimpleSignal",
663s # NULL,
663s # NULL
663s # },
663s # "simple-signal"
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay =
663s # {
663s # {
663s # -1,
663s # (gchar *) "arg_ay",
663s # (gchar *) "ay",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SingleArgSignalAy",
663s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
663s # NULL
663s # },
663s # "single-arg-signal-ay"
663s # };
663s #
663s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.SignalingIface",
663s # NULL,
663s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-signaling-iface",
663s # };
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_signaling_iface_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_simple_signal (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__STRING (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectSignalingIface:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceIface:
663s # * @parent_iface: The parent interface.
663s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
663s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
663s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * OrgProjectSignalingIface::simple-signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
663s # g_signal_new ("simple-signal",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_simple_signal,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /**
663s # * OrgProjectSignalingIface::single-arg-signal-ay:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_ay: Argument.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
663s # g_signal_new ("single-arg-signal-ay",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
663s # G_TYPE_NONE,
663s # 1, G_TYPE_STRING);
663s #
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_simple_signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * Emits the "SimpleSignal" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_single_arg_signal_ay:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_ay: Argument to pass with the signal.
663s # *
663s # * Emits the "SingleArgSignalAy" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_single_arg_signal_ay (
663s # OrgProjectSignalingIface *object,
663s # const gchar *arg_arg_ay)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay);
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxy:
663s # *
663s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
663s # OrgProjectSignalingIface *object,
663s # const gchar *arg_arg_ay)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
663s # arg_arg_ay));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s #
663s # /tmp/tmpbiz2tt44/tmpw4vttdgy.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpw4vttdgy.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.SignalingIface
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectSignalingIface
663s # * @title: OrgProjectSignalingIface
663s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
663s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
663s # };
663s #
663s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
663s #
663s # /* ---- Introspection data for org.project.SignalingIface ---- */
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SimpleSignal",
663s # NULL,
663s # NULL
663s # },
663s # "simple-signal"
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as =
663s # {
663s # {
663s # -1,
663s # (gchar *) "arg_as",
663s # (gchar *) "as",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SingleArgSignalAs",
663s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
663s # NULL
663s # },
663s # "single-arg-signal-as"
663s # };
663s #
663s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.SignalingIface",
663s # NULL,
663s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-signaling-iface",
663s # };
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_signaling_iface_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_simple_signal (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__BOXED (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectSignalingIface:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceIface:
663s # * @parent_iface: The parent interface.
663s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
663s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
663s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * OrgProjectSignalingIface::simple-signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
663s # g_signal_new ("simple-signal",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_simple_signal,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /**
663s # * OrgProjectSignalingIface::single-arg-signal-as:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_as: Argument.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
663s # g_signal_new ("single-arg-signal-as",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
663s # G_TYPE_NONE,
663s # 1, G_TYPE_STRV);
663s #
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_simple_signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * Emits the "SimpleSignal" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_single_arg_signal_as:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_as: Argument to pass with the signal.
663s # *
663s # * Emits the "SingleArgSignalAs" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_single_arg_signal_as (
663s # OrgProjectSignalingIface *object,
663s # const gchar *const *arg_arg_as)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as);
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxy:
663s # *
663s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
663s # OrgProjectSignalingIface *object,
663s # const gchar *const *arg_arg_as)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
663s # arg_arg_as));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s #
663s # /tmp/tmpbiz2tt44/tmp24vfj_rw.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmp24vfj_rw.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.SignalingIface
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectSignalingIface
663s # * @title: OrgProjectSignalingIface
663s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
663s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
663s # };
663s #
663s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
663s #
663s # /* ---- Introspection data for org.project.SignalingIface ---- */
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SimpleSignal",
663s # NULL,
663s # NULL
663s # },
663s # "simple-signal"
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao =
663s # {
663s # {
663s # -1,
663s # (gchar *) "arg_ao",
663s # (gchar *) "ao",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SingleArgSignalAo",
663s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
663s # NULL
663s # },
663s # "single-arg-signal-ao"
663s # };
663s #
663s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.SignalingIface",
663s # NULL,
663s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-signaling-iface",
663s # };
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_signaling_iface_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_simple_signal (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__BOXED (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectSignalingIface:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceIface:
663s # * @parent_iface: The parent interface.
663s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
663s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
663s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * OrgProjectSignalingIface::simple-signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
663s # g_signal_new ("simple-signal",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_simple_signal,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /**
663s # * OrgProjectSignalingIface::single-arg-signal-ao:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_ao: Argument.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
663s # g_signal_new ("single-arg-signal-ao",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
663s # G_TYPE_NONE,
663s # 1, G_TYPE_STRV);
663s #
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_simple_signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * Emits the "SimpleSignal" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_single_arg_signal_ao:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_ao: Argument to pass with the signal.
663s # *
663s # * Emits the "SingleArgSignalAo" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_single_arg_signal_ao (
663s # OrgProjectSignalingIface *object,
663s # const gchar *const *arg_arg_ao)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao);
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxy:
663s # *
663s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
663s # OrgProjectSignalingIface *object,
663s # const gchar *const *arg_arg_ao)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
663s # arg_arg_ao));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s #
663s # /tmp/tmpbiz2tt44/tmpghkpl41d.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpghkpl41d.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.SignalingIface
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectSignalingIface
663s # * @title: OrgProjectSignalingIface
663s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
663s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
663s # };
663s #
663s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
663s #
663s # /* ---- Introspection data for org.project.SignalingIface ---- */
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SimpleSignal",
663s # NULL,
663s # NULL
663s # },
663s # "simple-signal"
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay =
663s # {
663s # {
663s # -1,
663s # (gchar *) "arg_aay",
663s # (gchar *) "aay",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SingleArgSignalAay",
663s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
663s # NULL
663s # },
663s # "single-arg-signal-aay"
663s # };
663s #
663s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.SignalingIface",
663s # NULL,
663s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-signaling-iface",
663s # };
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_signaling_iface_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_simple_signal (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__BOXED (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectSignalingIface:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceIface:
663s # * @parent_iface: The parent interface.
663s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
663s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
663s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * OrgProjectSignalingIface::simple-signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
663s # g_signal_new ("simple-signal",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_simple_signal,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /**
663s # * OrgProjectSignalingIface::single-arg-signal-aay:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_aay: Argument.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
663s # g_signal_new ("single-arg-signal-aay",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
663s # G_TYPE_NONE,
663s # 1, G_TYPE_STRV);
663s #
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_simple_signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * Emits the "SimpleSignal" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_single_arg_signal_aay:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_aay: Argument to pass with the signal.
663s # *
663s # * Emits the "SingleArgSignalAay" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_single_arg_signal_aay (
663s # OrgProjectSignalingIface *object,
663s # const gchar *const *arg_arg_aay)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay);
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxy:
663s # *
663s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
663s # OrgProjectSignalingIface *object,
663s # const gchar *const *arg_arg_aay)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
663s # arg_arg_aay));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s #
663s # /tmp/tmpbiz2tt44/tmpxwahp7eh.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbiz2tt44/tmpxwahp7eh.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.SignalingIface
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectSignalingIface
663s # * @title: OrgProjectSignalingIface
663s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
663s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
663s # };
663s #
663s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
663s #
663s # /* ---- Introspection data for org.project.SignalingIface ---- */
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SimpleSignal",
663s # NULL,
663s # NULL
663s # },
663s # "simple-signal"
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv =
663s # {
663s # {
663s # -1,
663s # (gchar *) "arg_asv",
663s # (gchar *) "a{sv}",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SingleArgSignalAsv",
663s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
663s # NULL
663s # },
663s # "single-arg-signal-asv"
663s # };
663s #
663s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
663s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.SignalingIface",
663s # NULL,
663s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-signaling-iface",
663s # };
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_signaling_iface_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_simple_signal (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VARIANT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectSignalingIface:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceIface:
663s # * @parent_iface: The parent interface.
663s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
663s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
663s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * OrgProjectSignalingIface::simple-signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
663s # g_signal_new ("simple-signal",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_simple_signal,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /**
663s # * OrgProjectSignalingIface::single-arg-signal-asv:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_asv: Argument.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
663s # g_signal_new ("single-arg-signal-asv",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
663s # G_TYPE_NONE,
663s # 1, G_TYPE_VARIANT);
663s #
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_simple_signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * Emits the "SimpleSignal" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_single_arg_signal_asv:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_arg_asv: Argument to pass with the signal.
663s # *
663s # * Emits the "SingleArgSignalAsv" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_single_arg_signal_asv (
663s # OrgProjectSignalingIface *object,
663s # GVariant *arg_arg_asv)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv);
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxy:
663s # *
663s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
663s # OrgProjectSignalingIface *object,
663s # GVariant *arg_arg_asv)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
663s # arg_arg_asv));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpg2b1eohx
663s # /tmp/tmpg2b1eohx/tmpho13hgk1.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg2b1eohx/tmpho13hgk1.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # static void
663s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
663s # GClosure *closure,
663s # GValue *return_value G_GNUC_UNUSED,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint G_GNUC_UNUSED,
663s # void *marshal_data)
663s # {
663s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
663s # (void *data1,
663s # gboolean arg_an_b,
663s # guchar arg_an_y,
663s # gint16 arg_an_n,
663s # guint16 arg_an_q,
663s # gint arg_an_i,
663s # guint arg_an_u,
663s # gint64 arg_an_x,
663s # guint64 arg_an_t,
663s # gdouble arg_an_d,
663s # const gchar *arg_an_s,
663s # const gchar *arg_an_o,
663s # const gchar *arg_an_g,
663s # GVariant *arg_an_h,
663s # const gchar *arg_an_ay,
663s # const gchar *const *arg_an_as,
663s # const gchar *const *arg_an_ao,
663s # const gchar *const *arg_an_aay,
663s # GVariant *arg_an_asv,
663s # void *data2);
663s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
663s # GCClosure *cc = (GCClosure*) closure;
663s # void *data1, *data2;
663s #
663s # g_return_if_fail (n_param_values == 19);
663s #
663s # if (G_CCLOSURE_SWAP_DATA (closure))
663s # {
663s # data1 = closure->data;
663s # data2 = g_value_peek_pointer (param_values + 0);
663s # }
663s # else
663s # {
663s # data1 = g_value_peek_pointer (param_values + 0);
663s # data2 = closure->data;
663s # }
663s #
663s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
663s # (marshal_data ? marshal_data : cc->callback);
663s #
663s # callback (data1,
663s # g_marshal_value_peek_boolean (param_values + 1),
663s # g_marshal_value_peek_uchar (param_values + 2),
663s # g_marshal_value_peek_int (param_values + 3),
663s # g_marshal_value_peek_uint (param_values + 4),
663s # g_marshal_value_peek_int (param_values + 5),
663s # g_marshal_value_peek_uint (param_values + 6),
663s # g_marshal_value_peek_int64 (param_values + 7),
663s # g_marshal_value_peek_uint64 (param_values + 8),
663s # g_marshal_value_peek_double (param_values + 9),
663s # g_marshal_value_peek_string (param_values + 10),
663s # g_marshal_value_peek_string (param_values + 11),
663s # g_marshal_value_peek_string (param_values + 12),
663s # g_marshal_value_peek_variant (param_values + 13),
663s # g_marshal_value_peek_string (param_values + 14),
663s # g_marshal_value_peek_boxed (param_values + 15),
663s # g_marshal_value_peek_boxed (param_values + 16),
663s # g_marshal_value_peek_boxed (param_values + 17),
663s # g_marshal_value_peek_variant (param_values + 18),
663s # data2);
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.SignalingIface
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectSignalingIface
663s # * @title: OrgProjectSignalingIface
663s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
663s # };
663s #
663s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
663s #
663s # /* ---- Introspection data for org.project.SignalingIface ---- */
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SimpleSignal",
663s # NULL,
663s # NULL
663s # },
663s # "simple-signal"
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_b",
663s # (gchar *) "b",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_y",
663s # (gchar *) "y",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_n",
663s # (gchar *) "n",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_q",
663s # (gchar *) "q",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_i",
663s # (gchar *) "i",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_u",
663s # (gchar *) "u",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_x",
663s # (gchar *) "x",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_t",
663s # (gchar *) "t",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_d",
663s # (gchar *) "d",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_s",
663s # (gchar *) "s",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_o",
663s # (gchar *) "o",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_g",
663s # (gchar *) "g",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_h",
663s # (gchar *) "h",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_ay",
663s # (gchar *) "ay",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_as",
663s # (gchar *) "as",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_ao",
663s # (gchar *) "ao",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_aay",
663s # (gchar *) "aay",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
663s # {
663s # {
663s # -1,
663s # (gchar *) "an_asv",
663s # (gchar *) "a{sv}",
663s # NULL
663s # },
663s # FALSE
663s # };
663s #
663s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
663s # {
663s # {
663s # -1,
663s # (gchar *) "SignalWithManyArgs",
663s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
663s # NULL
663s # },
663s # "signal-with-many-args"
663s # };
663s #
663s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
663s # {
663s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
663s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.SignalingIface",
663s # NULL,
663s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-signaling-iface",
663s # };
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_signaling_iface_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_simple_signal (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectSignalingIface:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceIface:
663s # * @parent_iface: The parent interface.
663s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
663s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.SignalingIface.
663s # */
663s #
663s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
663s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * OrgProjectSignalingIface::simple-signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
663s # g_signal_new ("simple-signal",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_simple_signal,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /**
663s # * OrgProjectSignalingIface::signal-with-many-args:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_an_b: Argument.
663s # * @arg_an_y: Argument.
663s # * @arg_an_n: Argument.
663s # * @arg_an_q: Argument.
663s # * @arg_an_i: Argument.
663s # * @arg_an_u: Argument.
663s # * @arg_an_x: Argument.
663s # * @arg_an_t: Argument.
663s # * @arg_an_d: Argument.
663s # * @arg_an_s: Argument.
663s # * @arg_an_o: Argument.
663s # * @arg_an_g: Argument.
663s # * @arg_an_h: Argument.
663s # * @arg_an_ay: Argument.
663s # * @arg_an_as: Argument.
663s # * @arg_an_ao: Argument.
663s # * @arg_an_aay: Argument.
663s # * @arg_an_asv: Argument.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
663s # g_signal_new ("signal-with-many-args",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
663s # NULL,
663s # NULL,
663s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
663s # G_TYPE_NONE,
663s # 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);
663s #
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_simple_signal:
663s # * @object: A #OrgProjectSignalingIface.
663s # *
663s # * Emits the "SimpleSignal" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_emit_signal_with_many_args:
663s # * @object: A #OrgProjectSignalingIface.
663s # * @arg_an_b: Argument to pass with the signal.
663s # * @arg_an_y: Argument to pass with the signal.
663s # * @arg_an_n: Argument to pass with the signal.
663s # * @arg_an_q: Argument to pass with the signal.
663s # * @arg_an_i: Argument to pass with the signal.
663s # * @arg_an_u: Argument to pass with the signal.
663s # * @arg_an_x: Argument to pass with the signal.
663s # * @arg_an_t: Argument to pass with the signal.
663s # * @arg_an_d: Argument to pass with the signal.
663s # * @arg_an_s: Argument to pass with the signal.
663s # * @arg_an_o: Argument to pass with the signal.
663s # * @arg_an_g: Argument to pass with the signal.
663s # * @arg_an_h: Argument to pass with the signal.
663s # * @arg_an_ay: Argument to pass with the signal.
663s # * @arg_an_as: Argument to pass with the signal.
663s # * @arg_an_ao: Argument to pass with the signal.
663s # * @arg_an_aay: Argument to pass with the signal.
663s # * @arg_an_asv: Argument to pass with the signal.
663s # *
663s # * Emits the "SignalWithManyArgs" D-Bus signal.
663s # */
663s # void
663s # org_project_signaling_iface_emit_signal_with_many_args (
663s # OrgProjectSignalingIface *object,
663s # gboolean arg_an_b,
663s # guchar arg_an_y,
663s # gint16 arg_an_n,
663s # guint16 arg_an_q,
663s # gint arg_an_i,
663s # guint arg_an_u,
663s # gint64 arg_an_x,
663s # guint64 arg_an_t,
663s # gdouble arg_an_d,
663s # const gchar *arg_an_s,
663s # const gchar *arg_an_o,
663s # const gchar *arg_an_g,
663s # GVariant *arg_an_h,
663s # const gchar *arg_an_ay,
663s # const gchar *const *arg_an_as,
663s # const gchar *const *arg_an_ao,
663s # const gchar *const *arg_an_aay,
663s # GVariant *arg_an_asv)
663s # {
663s # 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);
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxy:
663s # *
663s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceProxy.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
663s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
663s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_signaling_iface_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_SIGNALING_IFACE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeleton:
663s # *
663s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectSignalingIfaceSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
663s # */
663s #
663s # struct _OrgProjectSignalingIfaceSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_signaling_iface_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_signaling_iface_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_signaling_iface_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
663s # {
663s # _org_project_signaling_iface_skeleton_handle_method_call,
663s # _org_project_signaling_iface_skeleton_handle_get_property,
663s # _org_project_signaling_iface_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_signaling_iface_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_simple_signal (
663s # OrgProjectSignalingIface *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void
663s # _org_project_signaling_iface_on_signal_signal_with_many_args (
663s # OrgProjectSignalingIface *object,
663s # gboolean arg_an_b,
663s # guchar arg_an_y,
663s # gint16 arg_an_n,
663s # guint16 arg_an_q,
663s # gint arg_an_i,
663s # guint arg_an_u,
663s # gint64 arg_an_x,
663s # guint64 arg_an_t,
663s # gdouble arg_an_d,
663s # const gchar *arg_an_s,
663s # const gchar *arg_an_o,
663s # const gchar *arg_an_g,
663s # GVariant *arg_an_h,
663s # const gchar *arg_an_ay,
663s # const gchar *const *arg_an_as,
663s # const gchar *const *arg_an_ao,
663s # const gchar *const *arg_an_aay,
663s # GVariant *arg_an_asv)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
663s # arg_an_b,
663s # arg_an_y,
663s # arg_an_n,
663s # arg_an_q,
663s # arg_an_i,
663s # arg_an_u,
663s # arg_an_x,
663s # arg_an_t,
663s # arg_an_d,
663s # arg_an_s,
663s # arg_an_o,
663s # arg_an_g,
663s # arg_an_h,
663s # arg_an_ay,
663s # arg_an_as,
663s # arg_an_ao,
663s # arg_an_aay,
663s # arg_an_asv));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_signaling_iface_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
663s # {
663s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
663s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
663s # }
663s #
663s # /**
663s # * org_project_signaling_iface_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
663s # *
663s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
663s # */
663s # OrgProjectSignalingIface *
663s # org_project_signaling_iface_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
663s # }
663s # Error:
663s ok 25 __main__.TestCodegen.test_generate_valid_docbook
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpkkg8xufg
663s # /tmp/tmpkkg8xufg/tmp8kj_i757.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkkg8xufg/tmp8kj_i757.xml', '--generate-docbook', 'test']
663s # Return code: 0
663s # Output:
663s #
663s # Error:
663s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmp22xytm2y
663s # /tmp/tmp22xytm2y/tmpd8cowqmb.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22xytm2y/tmpd8cowqmb.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64']
663s # Return code: 1
663s # Output:
663s #
663s # Error:
663s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62))
663s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpf6k4a9gf
663s # /tmp/tmpf6k4a9gf/tmp8b2yg8o0.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf6k4a9gf/tmp8b2yg8o0.xml', '--output', '-', '--header', '--glib-max-allowed', '3']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmp_kk00375
663s # /tmp/tmp_kk00375/tmp28xlmkae.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_kk00375/tmp28xlmkae.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6']
663s # Return code: 1
663s # Output:
663s #
663s # Error:
663s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6))
663s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpeeemhvau
663s # /tmp/tmpeeemhvau/tmpp64fcc2t.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeeemhvau/tmpp64fcc2t.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpm2sprqdq
663s # /tmp/tmpm2sprqdq/tmpolktnm1i.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm2sprqdq/tmpolktnm1i.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s ok 31 __main__.TestCodegen.test_glib_min_required_invalid
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmp02a6q9pq
663s # /tmp/tmp02a6q9pq/tmpusrnjw_q.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp02a6q9pq/tmpusrnjw_q.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum']
663s # Return code: 1
663s # Output:
663s #
663s # Error:
663s # ERROR: Unrecognized --glib-min-required string ‘hello mum’
663s ok 32 __main__.TestCodegen.test_glib_min_required_major_only
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmppojoe_8p
663s # /tmp/tmppojoe_8p/tmpq5150xup.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppojoe_8p/tmpq5150xup.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s ok 33 __main__.TestCodegen.test_glib_min_required_too_low
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpqy2su50b
663s # /tmp/tmpqy2su50b/tmpdm3htsl0.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqy2su50b/tmpdm3htsl0.xml', '--output', '-', '--body', '--glib-min-required', '2.6']
663s # Return code: 1
663s # Output:
663s #
663s # Error:
663s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30
663s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmp1xu5gnco
663s # /tmp/tmp1xu5gnco/tmpg25s9iw2.xml:
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1xu5gnco/tmpg25s9iw2.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s ok 35 __main__.TestCodegen.test_help
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpqpzma9qm
663s # Running: ['/usr/bin/gdbus-codegen', '--help']
663s # Return code: 0
663s # Output:
663s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
663s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
663s # [--c-generate-autocleanup {none,objects,all}]
663s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
663s # [--generate-rst OUTFILES] [--pragma-once]
663s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
663s # [--glib-min-required VERSION]
663s # [--glib-max-allowed VERSION]
663s # [--symbol-decorator SYMBOL_DECORATOR]
663s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
663s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
663s # [--generate-c-code OUTFILES | --header | --body |
663s # --interface-info-header | --interface-info-body]
663s # [--output FILE | --output-directory OUTDIR]
663s # FILE [FILE ...]
663s #
663s # D-Bus code and documentation generator
663s #
663s # positional arguments:
663s # FILE D-Bus introspection XML file
663s #
663s # options:
663s # -h, --help show this help message and exit
663s # --interface-prefix PREFIX
663s # String to strip from D-Bus interface names for code
663s # and docs
663s # --c-namespace NAMESPACE
663s # The namespace to use for generated C code
663s # --c-generate-object-manager
663s # Generate a GDBusObjectManagerClient subclass when
663s # generating C code
663s # --c-generate-autocleanup {none,objects,all}
663s # Generate autocleanup support
663s # --generate-docbook OUTFILES
663s # Generate Docbook in OUTFILES-org.Project.IFace.xml
663s # --generate-md OUTFILES
663s # Generate Markdown in OUTFILES-org.Project.IFace.md
663s # --generate-rst OUTFILES
663s # Generate reStructuredText in OUTFILES-
663s # org.Project.IFace.rst
663s # --pragma-once Use "pragma once" as the inclusion guard
663s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
663s # Add annotation (may be used several times)
663s # --glib-min-required VERSION
663s # Minimum version of GLib to be supported by the
663s # outputted code (default: 2.30)
663s # --glib-max-allowed VERSION
663s # Maximum version of GLib to be used by the outputted
663s # code (default: current GLib version)
663s # --symbol-decorator SYMBOL_DECORATOR
663s # Macro used to decorate a symbol in the outputted
663s # header, possibly to export symbols
663s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER
663s # Additional header required for decorator specified by
663s # --symbol-decorator
663s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
663s # Additional define required for decorator specified by
663s # --symbol-decorator
663s # --generate-c-code OUTFILES
663s # Generate C code in OUTFILES.[ch]
663s # --header Generate C headers
663s # --body Generate C code
663s # --interface-info-header
663s # Generate GDBusInterfaceInfo C header
663s # --interface-info-body
663s # Generate GDBusInterfaceInfo C code
663s # --output FILE Write output into the specified file
663s # --output-directory OUTDIR
663s # Location to output generated files
663s # Error:
663s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpyi44k2gt
663s # /tmp/tmpyi44k2gt/tmp_plnsxzp.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyi44k2gt/tmp_plnsxzp.xml', '--generate-rst', 'test']
663s # Return code: 0
663s # Output:
663s #
663s # Error:
663s #
663s # /tmp/tmpyi44k2gt/tmpo4qry60g.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyi44k2gt/tmpo4qry60g.xml', '--generate-md', 'test']
663s # Return code: 0
663s # Output:
663s #
663s # Error:
663s #
663s # /tmp/tmpyi44k2gt/tmpwmuje7fw.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyi44k2gt/tmpwmuje7fw.xml', '--generate-docbook', 'test']
663s # Return code: 0
663s # Output:
663s #
663s # Error:
663s ok 37 __main__.TestCodegen.test_no_args
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpnked342v
663s # Running: ['/usr/bin/gdbus-codegen']
663s # Return code: 2
663s # Output:
663s #
663s # Error:
663s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
663s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
663s # [--c-generate-autocleanup {none,objects,all}]
663s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
663s # [--generate-rst OUTFILES] [--pragma-once]
663s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
663s # [--glib-min-required VERSION]
663s # [--glib-max-allowed VERSION]
663s # [--symbol-decorator SYMBOL_DECORATOR]
663s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
663s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
663s # [--generate-c-code OUTFILES | --header | --body |
663s # --interface-info-header | --interface-info-body]
663s # [--output FILE | --output-directory OUTDIR]
663s # FILE [FILE ...]
663s # gdbus-codegen: error: the following arguments are required: FILE
663s ok 38 __main__.TestCodegen.test_reproducible
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmplv4zos8g
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplv4zos8g/tmp5zcf2eum1.xml', '/tmp/tmplv4zos8g/tmp_d9be5pz2.xml', '--output', '-', '--header']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s # /* Declarations for com.acme.Coyote */
663s #
663s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
663s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
663s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
663s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
663s #
663s # struct _ComAcmeCoyote;
663s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
663s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
663s #
663s # struct _ComAcmeCoyoteIface
663s # {
663s # GTypeInterface parent_iface;
663s #
663s #
663s #
663s # gboolean (*handle_attack) (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # gboolean (*handle_run) (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # gboolean (*handle_sleep) (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # const gchar * (*get_mood) (ComAcmeCoyote *object);
663s #
663s # void (*surprised) (
663s # ComAcmeCoyote *object);
663s #
663s # };
663s #
663s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
663s #
663s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
663s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
663s #
663s #
663s # /* D-Bus method call completion functions: */
663s # void com_acme_coyote_complete_run (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # void com_acme_coyote_complete_sleep (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # void com_acme_coyote_complete_attack (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s #
663s #
663s # /* D-Bus signal emissions functions: */
663s # void com_acme_coyote_emit_surprised (
663s # ComAcmeCoyote *object);
663s #
663s #
663s #
663s # /* D-Bus method calls: */
663s # void com_acme_coyote_call_run (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean com_acme_coyote_call_run_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean com_acme_coyote_call_run_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void com_acme_coyote_call_sleep (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean com_acme_coyote_call_sleep_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean com_acme_coyote_call_sleep_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void com_acme_coyote_call_attack (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean com_acme_coyote_call_attack_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean com_acme_coyote_call_attack_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s #
663s # /* D-Bus property accessors: */
663s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
663s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
663s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
663s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
663s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
663s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
663s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
663s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
663s #
663s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
663s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
663s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
663s #
663s # struct _ComAcmeCoyoteProxy
663s # {
663s # /*< private >*/
663s # GDBusProxy parent_instance;
663s # ComAcmeCoyoteProxyPrivate *priv;
663s # };
663s #
663s # struct _ComAcmeCoyoteProxyClass
663s # {
663s # GDBusProxyClass parent_class;
663s # };
663s #
663s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
663s # #endif
663s #
663s # void com_acme_coyote_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void com_acme_coyote_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
663s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
663s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
663s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
663s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
663s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
663s #
663s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
663s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
663s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
663s #
663s # struct _ComAcmeCoyoteSkeleton
663s # {
663s # /*< private >*/
663s # GDBusInterfaceSkeleton parent_instance;
663s # ComAcmeCoyoteSkeletonPrivate *priv;
663s # };
663s #
663s # struct _ComAcmeCoyoteSkeletonClass
663s # {
663s # GDBusInterfaceSkeletonClass parent_class;
663s # };
663s #
663s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
663s # #endif
663s #
663s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s # /* Declarations for org.project.Bar.Frobnicator */
663s #
663s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
663s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
663s #
663s # struct _OrgProjectBarFrobnicator;
663s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
663s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
663s #
663s # struct _OrgProjectBarFrobnicatorIface
663s # {
663s # GTypeInterface parent_iface;
663s #
663s # gboolean (*handle_random_method) (
663s # OrgProjectBarFrobnicator *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # };
663s #
663s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
663s #
663s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
663s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
663s #
663s #
663s # /* D-Bus method call completion functions: */
663s # void org_project_bar_frobnicator_complete_random_method (
663s # OrgProjectBarFrobnicator *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s #
663s #
663s # /* D-Bus method calls: */
663s # void org_project_bar_frobnicator_call_random_method (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean org_project_bar_frobnicator_call_random_method_finish (
663s # OrgProjectBarFrobnicator *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean org_project_bar_frobnicator_call_random_method_sync (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
663s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
663s #
663s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
663s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
663s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
663s #
663s # struct _OrgProjectBarFrobnicatorProxy
663s # {
663s # /*< private >*/
663s # GDBusProxy parent_instance;
663s # OrgProjectBarFrobnicatorProxyPrivate *priv;
663s # };
663s #
663s # struct _OrgProjectBarFrobnicatorProxyClass
663s # {
663s # GDBusProxyClass parent_class;
663s # };
663s #
663s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
663s # #endif
663s #
663s # void org_project_bar_frobnicator_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void org_project_bar_frobnicator_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
663s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
663s #
663s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
663s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
663s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
663s #
663s # struct _OrgProjectBarFrobnicatorSkeleton
663s # {
663s # /*< private >*/
663s # GDBusInterfaceSkeleton parent_instance;
663s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
663s # };
663s #
663s # struct _OrgProjectBarFrobnicatorSkeletonClass
663s # {
663s # GDBusInterfaceSkeletonClass parent_class;
663s # };
663s #
663s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
663s # #endif
663s #
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplv4zos8g/tmp_d9be5pz2.xml', '/tmp/tmplv4zos8g/tmp5zcf2eum1.xml', '--output', '-', '--header']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s # /* Declarations for com.acme.Coyote */
663s #
663s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
663s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
663s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
663s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
663s #
663s # struct _ComAcmeCoyote;
663s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
663s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
663s #
663s # struct _ComAcmeCoyoteIface
663s # {
663s # GTypeInterface parent_iface;
663s #
663s #
663s #
663s # gboolean (*handle_attack) (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # gboolean (*handle_run) (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # gboolean (*handle_sleep) (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # const gchar * (*get_mood) (ComAcmeCoyote *object);
663s #
663s # void (*surprised) (
663s # ComAcmeCoyote *object);
663s #
663s # };
663s #
663s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
663s #
663s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
663s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
663s #
663s #
663s # /* D-Bus method call completion functions: */
663s # void com_acme_coyote_complete_run (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # void com_acme_coyote_complete_sleep (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # void com_acme_coyote_complete_attack (
663s # ComAcmeCoyote *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s #
663s #
663s # /* D-Bus signal emissions functions: */
663s # void com_acme_coyote_emit_surprised (
663s # ComAcmeCoyote *object);
663s #
663s #
663s #
663s # /* D-Bus method calls: */
663s # void com_acme_coyote_call_run (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean com_acme_coyote_call_run_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean com_acme_coyote_call_run_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void com_acme_coyote_call_sleep (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean com_acme_coyote_call_sleep_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean com_acme_coyote_call_sleep_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void com_acme_coyote_call_attack (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean com_acme_coyote_call_attack_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean com_acme_coyote_call_attack_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s #
663s # /* D-Bus property accessors: */
663s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
663s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
663s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
663s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
663s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
663s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
663s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
663s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
663s #
663s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
663s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
663s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
663s #
663s # struct _ComAcmeCoyoteProxy
663s # {
663s # /*< private >*/
663s # GDBusProxy parent_instance;
663s # ComAcmeCoyoteProxyPrivate *priv;
663s # };
663s #
663s # struct _ComAcmeCoyoteProxyClass
663s # {
663s # GDBusProxyClass parent_class;
663s # };
663s #
663s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
663s # #endif
663s #
663s # void com_acme_coyote_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void com_acme_coyote_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
663s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
663s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
663s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
663s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
663s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
663s #
663s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
663s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
663s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
663s #
663s # struct _ComAcmeCoyoteSkeleton
663s # {
663s # /*< private >*/
663s # GDBusInterfaceSkeleton parent_instance;
663s # ComAcmeCoyoteSkeletonPrivate *priv;
663s # };
663s #
663s # struct _ComAcmeCoyoteSkeletonClass
663s # {
663s # GDBusInterfaceSkeletonClass parent_class;
663s # };
663s #
663s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
663s # #endif
663s #
663s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s # /* Declarations for org.project.Bar.Frobnicator */
663s #
663s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
663s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
663s #
663s # struct _OrgProjectBarFrobnicator;
663s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
663s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
663s #
663s # struct _OrgProjectBarFrobnicatorIface
663s # {
663s # GTypeInterface parent_iface;
663s #
663s # gboolean (*handle_random_method) (
663s # OrgProjectBarFrobnicator *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s # };
663s #
663s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
663s #
663s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
663s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
663s #
663s #
663s # /* D-Bus method call completion functions: */
663s # void org_project_bar_frobnicator_complete_random_method (
663s # OrgProjectBarFrobnicator *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s #
663s #
663s # /* D-Bus method calls: */
663s # void org_project_bar_frobnicator_call_random_method (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean org_project_bar_frobnicator_call_random_method_finish (
663s # OrgProjectBarFrobnicator *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean org_project_bar_frobnicator_call_random_method_sync (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
663s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
663s #
663s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
663s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
663s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
663s #
663s # struct _OrgProjectBarFrobnicatorProxy
663s # {
663s # /*< private >*/
663s # GDBusProxy parent_instance;
663s # OrgProjectBarFrobnicatorProxyPrivate *priv;
663s # };
663s #
663s # struct _OrgProjectBarFrobnicatorProxyClass
663s # {
663s # GDBusProxyClass parent_class;
663s # };
663s #
663s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
663s # #endif
663s #
663s # void org_project_bar_frobnicator_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void org_project_bar_frobnicator_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
663s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
663s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
663s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
663s #
663s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
663s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
663s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
663s #
663s # struct _OrgProjectBarFrobnicatorSkeleton
663s # {
663s # /*< private >*/
663s # GDBusInterfaceSkeleton parent_instance;
663s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
663s # };
663s #
663s # struct _OrgProjectBarFrobnicatorSkeletonClass
663s # {
663s # GDBusInterfaceSkeletonClass parent_class;
663s # };
663s #
663s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
663s # #endif
663s #
663s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplv4zos8g/tmp5zcf2eum1.xml', '/tmp/tmplv4zos8g/tmp_d9be5pz2.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # static void
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint G_GNUC_UNUSED,
663s # void *marshal_data)
663s # {
663s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
663s # (void *data1,
663s # GDBusMethodInvocation *arg_method_invocation,
663s # void *data2);
663s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
663s # GCClosure *cc = (GCClosure*) closure;
663s # void *data1, *data2;
663s # gboolean v_return;
663s #
663s # g_return_if_fail (return_value != NULL);
663s # g_return_if_fail (n_param_values == 2);
663s #
663s # if (G_CCLOSURE_SWAP_DATA (closure))
663s # {
663s # data1 = closure->data;
663s # data2 = g_value_peek_pointer (param_values + 0);
663s # }
663s # else
663s # {
663s # data1 = g_value_peek_pointer (param_values + 0);
663s # data2 = closure->data;
663s # }
663s #
663s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
663s # (marshal_data ? marshal_data : cc->callback);
663s #
663s # v_return =
663s # callback (data1,
663s # g_marshal_value_peek_object (param_values + 1),
663s # data2);
663s #
663s # g_value_set_boolean (return_value, v_return);
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface com.acme.Coyote
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:ComAcmeCoyote
663s # * @title: ComAcmeCoyote
663s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
663s # *
663s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _COM_ACME_COYOTE_SURPRISED,
663s # };
663s #
663s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
663s #
663s # /* ---- Introspection data for com.acme.Coyote ---- */
663s #
663s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Run",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-run",
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Sleep",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-sleep",
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Attack",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-attack",
663s # FALSE
663s # };
663s #
663s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
663s # {
663s # &_com_acme_coyote_method_info_run.parent_struct,
663s # &_com_acme_coyote_method_info_sleep.parent_struct,
663s # &_com_acme_coyote_method_info_attack.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Surprised",
663s # NULL,
663s # NULL
663s # },
663s # "surprised"
663s # };
663s #
663s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
663s # {
663s # &_com_acme_coyote_signal_info_surprised.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Mood",
663s # (gchar *) "s",
663s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
663s # NULL
663s # },
663s # "mood",
663s # FALSE,
663s # TRUE
663s # };
663s #
663s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
663s # {
663s # &_com_acme_coyote_property_info_mood.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "com.acme.Coyote",
663s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
663s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
663s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
663s # NULL
663s # },
663s # "com-acme-coyote",
663s # };
663s #
663s #
663s # /**
663s # * com_acme_coyote_interface_info:
663s # *
663s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # com_acme_coyote_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
663s # {
663s # g_object_class_override_property (klass, property_id_begin++, "mood");
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # com_acme_coyote_signal_marshal_surprised (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # com_acme_coyote_method_marshal_run (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # com_acme_coyote_method_marshal_sleep (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # com_acme_coyote_method_marshal_attack (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * ComAcmeCoyote:
663s # *
663s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
663s # */
663s #
663s # /**
663s # * ComAcmeCoyoteIface:
663s # * @parent_iface: The parent interface.
663s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
663s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
663s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
663s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
663s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
663s # *
663s # * Virtual table for the D-Bus interface com.acme.Coyote.
663s # */
663s #
663s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
663s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
663s #
663s # static void
663s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
663s # {
663s # /* GObject signals for incoming D-Bus method calls: */
663s # /**
663s # * ComAcmeCoyote::handle-run:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-run",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # com_acme_coyote_method_marshal_run,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # /**
663s # * ComAcmeCoyote::handle-sleep:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-sleep",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # com_acme_coyote_method_marshal_sleep,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # /**
663s # * ComAcmeCoyote::handle-attack:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-attack",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # com_acme_coyote_method_marshal_attack,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * ComAcmeCoyote::surprised:
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
663s # g_signal_new ("surprised",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
663s # NULL,
663s # NULL,
663s # com_acme_coyote_signal_marshal_surprised,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /* GObject properties for D-Bus properties: */
663s # /**
663s # * ComAcmeCoyote:mood:
663s # *
663s # * Represents the D-Bus property "Mood".
663s # *
663s # * 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.
663s # */
663s # g_object_interface_install_property (iface,
663s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
663s # }
663s #
663s # /**
663s # * com_acme_coyote_get_mood: (skip)
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * Gets the value of the "Mood" D-Bus property.
663s # *
663s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # const gchar *
663s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
663s # {
663s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
663s #
663s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_dup_mood: (skip)
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * Gets a copy of the "Mood" D-Bus property.
663s # *
663s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
663s # *
663s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
663s # */
663s # gchar *
663s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
663s # {
663s # gchar *value;
663s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
663s # return value;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_set_mood: (skip)
663s # * @object: A #ComAcmeCoyote.
663s # * @value: The value to set.
663s # *
663s # * Sets the "Mood" D-Bus property to @value.
663s # *
663s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
663s # */
663s # void
663s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
663s # {
663s # g_object_set (G_OBJECT (object), "mood", value, NULL);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_emit_surprised:
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * Emits the "Surprised" D-Bus signal.
663s # */
663s # void
663s # com_acme_coyote_emit_surprised (
663s # ComAcmeCoyote *object)
663s # {
663s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_run:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the Run() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # com_acme_coyote_call_run (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "Run",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_run_finish:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with com_acme_coyote_call_run().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_run_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_run_sync:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_run_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "Run",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_sleep:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # com_acme_coyote_call_sleep (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "Sleep",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_sleep_finish:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with com_acme_coyote_call_sleep().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_sleep_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_sleep_sync:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_sleep_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "Sleep",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_attack:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # com_acme_coyote_call_attack (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "Attack",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_attack_finish:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with com_acme_coyote_call_attack().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_attack_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_attack_sync:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_attack_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "Attack",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_complete_run:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # com_acme_coyote_complete_run (
663s # ComAcmeCoyote *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /**
663s # * com_acme_coyote_complete_sleep:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # com_acme_coyote_complete_sleep (
663s # ComAcmeCoyote *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /**
663s # * com_acme_coyote_complete_attack:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # com_acme_coyote_complete_attack (
663s # ComAcmeCoyote *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * ComAcmeCoyoteProxy:
663s # *
663s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * ComAcmeCoyoteProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #ComAcmeCoyoteProxy.
663s # */
663s #
663s # struct _ComAcmeCoyoteProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # com_acme_coyote_proxy_finalize (GObject *object)
663s # {
663s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_get_property (GObject *object,
663s # guint prop_id,
663s # GValue *value,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # GVariant *variant;
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
663s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
663s # if (info->use_gvariant)
663s # {
663s # g_value_set_variant (value, variant);
663s # }
663s # else
663s # {
663s # if (variant != NULL)
663s # g_dbus_gvariant_to_gvalue (variant, value);
663s # }
663s # if (variant != NULL)
663s # g_variant_unref (variant);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
663s # GAsyncResult *res,
663s # gpointer user_data)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info = user_data;
663s # GError *error;
663s # GVariant *_ret;
663s # error = NULL;
663s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
663s # if (!_ret)
663s # {
663s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
663s # info->parent_struct.name,
663s # error->message, g_quark_to_string (error->domain), error->code);
663s # g_error_free (error);
663s # }
663s # else
663s # {
663s # g_variant_unref (_ret);
663s # }
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_set_property (GObject *object,
663s # guint prop_id,
663s # const GValue *value,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # GVariant *variant;
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
663s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_dbus_proxy_call (G_DBUS_PROXY (object),
663s # "org.freedesktop.DBus.Properties.Set",
663s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
663s # g_variant_unref (variant);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static const gchar *
663s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
663s # {
663s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
663s # GVariant *variant;
663s # const gchar *value = NULL;
663s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
663s # if (variant != NULL)
663s # {
663s # value = g_variant_get_string (variant, NULL);
663s # g_variant_unref (variant);
663s # }
663s # return value;
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
663s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
663s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
663s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
663s #
663s # com_acme_coyote_override_properties (gobject_class, 1);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
663s # {
663s # iface->get_mood = com_acme_coyote_proxy_get_mood;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # com_acme_coyote_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with com_acme_coyote_proxy_new().
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # com_acme_coyote_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * ComAcmeCoyoteSkeleton:
663s # *
663s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * ComAcmeCoyoteSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #ComAcmeCoyoteSkeleton.
663s # */
663s #
663s # struct _ComAcmeCoyoteSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _com_acme_coyote_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _com_acme_coyote_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _com_acme_coyote_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
663s # {
663s # _com_acme_coyote_skeleton_handle_method_call,
663s # _com_acme_coyote_skeleton_handle_get_property,
663s # _com_acme_coyote_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return com_acme_coyote_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
663s #
663s # static void
663s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
663s # gboolean emit_changed = FALSE;
663s #
663s # g_mutex_lock (&skeleton->priv->lock);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # {
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # skeleton->priv->changed_properties_idle_source = NULL;
663s # emit_changed = TRUE;
663s # }
663s # g_mutex_unlock (&skeleton->priv->lock);
663s #
663s # if (emit_changed)
663s # _com_acme_coyote_emit_changed (skeleton);
663s # }
663s #
663s # static void
663s # _com_acme_coyote_on_signal_surprised (
663s # ComAcmeCoyote *object)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # com_acme_coyote_skeleton_finalize (GObject *object)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # guint n;
663s # for (n = 0; n < 1; n++)
663s # g_value_unset (&skeleton->priv->properties[n]);
663s # g_free (skeleton->priv->properties);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_get_property (GObject *object,
663s # guint prop_id,
663s # GValue *value,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # g_mutex_lock (&skeleton->priv->lock);
663s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # }
663s #
663s # static gboolean
663s # _com_acme_coyote_emit_changed (gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # GList *l;
663s # GVariantBuilder builder;
663s # GVariantBuilder invalidated_builder;
663s # guint num_changes;
663s #
663s # g_mutex_lock (&skeleton->priv->lock);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
663s # #else
663s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
663s # #endif
663s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
663s # {
663s # ChangedProperty *cp = l->data;
663s # GVariant *variant;
663s # const GValue *cur_value;
663s #
663s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
663s # if (!_g_value_equal (cur_value, &cp->orig_value))
663s # {
663s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
663s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
663s # g_variant_unref (variant);
663s # num_changes++;
663s # }
663s # }
663s # if (num_changes > 0)
663s # {
663s # GList *connections, *ll;
663s # GVariant *signal_variant;
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
663s # &builder, &invalidated_builder));
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s # for (ll = connections; ll != NULL; ll = ll->next)
663s # {
663s # GDBusConnection *connection = ll->data;
663s #
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
663s # "org.freedesktop.DBus.Properties",
663s # "PropertiesChanged",
663s # signal_variant,
663s # NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s # else
663s # {
663s # g_variant_builder_clear (&builder);
663s # g_variant_builder_clear (&invalidated_builder);
663s # }
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # skeleton->priv->changed_properties = NULL;
663s # skeleton->priv->changed_properties_idle_source = NULL;
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # return FALSE;
663s # }
663s #
663s # static void
663s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
663s # {
663s # ChangedProperty *cp;
663s # GList *l;
663s # cp = NULL;
663s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
663s # {
663s # ChangedProperty *i_cp = l->data;
663s # if (i_cp->info == info)
663s # {
663s # cp = i_cp;
663s # break;
663s # }
663s # }
663s # if (cp == NULL)
663s # {
663s # cp = g_new0 (ChangedProperty, 1);
663s # cp->prop_id = prop_id;
663s # cp->info = info;
663s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
663s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
663s # g_value_copy (orig_value, &cp->orig_value);
663s # }
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_notify (GObject *object,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # g_mutex_lock (&skeleton->priv->lock);
663s # if (skeleton->priv->changed_properties != NULL &&
663s # skeleton->priv->changed_properties_idle_source == NULL)
663s # {
663s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
663s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
663s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
663s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
663s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
663s # g_source_unref (skeleton->priv->changed_properties_idle_source);
663s # }
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_set_property (GObject *object,
663s # guint prop_id,
663s # const GValue *value,
663s # GParamSpec *pspec)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
663s # g_mutex_lock (&skeleton->priv->lock);
663s # g_object_freeze_notify (object);
663s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
663s # {
663s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
663s # info->emits_changed_signal)
663s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
663s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
663s # g_object_notify_by_pspec (object, pspec);
663s # }
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # g_object_thaw_notify (object);
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # skeleton->priv->properties = g_new0 (GValue, 1);
663s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
663s # }
663s #
663s # static const gchar *
663s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # const gchar *value;
663s # g_mutex_lock (&skeleton->priv->lock);
663s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # return value;
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
663s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
663s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
663s # gobject_class->notify = com_acme_coyote_skeleton_notify;
663s #
663s #
663s # com_acme_coyote_override_properties (gobject_class, 1);
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
663s # {
663s # iface->surprised = _com_acme_coyote_on_signal_surprised;
663s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_skeleton_new (void)
663s # {
663s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.Bar.Frobnicator
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectBarFrobnicator
663s # * @title: OrgProjectBarFrobnicator
663s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
663s # */
663s #
663s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
663s #
663s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
663s # {
663s # {
663s # -1,
663s # (gchar *) "RandomMethod",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-random-method",
663s # FALSE
663s # };
663s #
663s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
663s # {
663s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.Bar.Frobnicator",
663s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-bar-frobnicator",
663s # };
663s #
663s #
663s # /**
663s # * org_project_bar_frobnicator_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_bar_frobnicator_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_bar_frobnicator_method_marshal_random_method (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectBarFrobnicator:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
663s # */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorIface:
663s # * @parent_iface: The parent interface.
663s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
663s # */
663s #
663s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
663s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
663s # {
663s # /* GObject signals for incoming D-Bus method calls: */
663s # /**
663s # * OrgProjectBarFrobnicator::handle-random-method:
663s # * @object: A #OrgProjectBarFrobnicator.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-random-method",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # org_project_bar_frobnicator_method_marshal_random_method,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_call_random_method:
663s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
663s # *
663s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # org_project_bar_frobnicator_call_random_method (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "RandomMethod",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_call_random_method_finish:
663s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # org_project_bar_frobnicator_call_random_method_finish (
663s # OrgProjectBarFrobnicator *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_call_random_method_sync:
663s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # org_project_bar_frobnicator_call_random_method_sync (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "RandomMethod",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_complete_random_method:
663s # * @object: A #OrgProjectBarFrobnicator.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # org_project_bar_frobnicator_complete_random_method (
663s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorProxy:
663s # *
663s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectBarFrobnicatorProxy.
663s # */
663s #
663s # struct _OrgProjectBarFrobnicatorProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
663s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
663s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_bar_frobnicator_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_bar_frobnicator_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorSkeleton:
663s # *
663s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
663s # */
663s #
663s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_bar_frobnicator_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_bar_frobnicator_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_bar_frobnicator_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
663s # {
663s # _org_project_bar_frobnicator_skeleton_handle_method_call,
663s # _org_project_bar_frobnicator_skeleton_handle_get_property,
663s # _org_project_bar_frobnicator_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_bar_frobnicator_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
663s # }
663s # Error:
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplv4zos8g/tmp_d9be5pz2.xml', '/tmp/tmplv4zos8g/tmp5zcf2eum1.xml', '--output', '-', '--body']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifdef HAVE_CONFIG_H
663s # # include "config.h"
663s # #endif
663s #
663s # #include
663s # #ifdef G_OS_UNIX
663s # # include
663s # #endif
663s #
663s # #ifdef G_ENABLE_DEBUG
663s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
663s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
663s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
663s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
663s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
663s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
663s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
663s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
663s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
663s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
663s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
663s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
663s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
663s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
663s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
663s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
663s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
663s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
663s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
663s # #else /* !G_ENABLE_DEBUG */
663s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
663s # * Do not access GValues directly in your code. Instead, use the
663s # * g_value_get_*() functions
663s # */
663s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
663s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
663s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
663s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
663s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
663s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
663s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
663s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
663s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
663s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
663s # #endif /* !G_ENABLE_DEBUG */
663s #
663s # typedef struct
663s # {
663s # GDBusArgInfo parent_struct;
663s # gboolean use_gvariant;
663s # } _ExtendedGDBusArgInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusMethodInfo parent_struct;
663s # const gchar *signal_name;
663s # gboolean pass_fdlist;
663s # } _ExtendedGDBusMethodInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusSignalInfo parent_struct;
663s # const gchar *signal_name;
663s # } _ExtendedGDBusSignalInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusPropertyInfo parent_struct;
663s # const gchar *hyphen_name;
663s # guint use_gvariant : 1;
663s # guint emits_changed_signal : 1;
663s # } _ExtendedGDBusPropertyInfo;
663s #
663s # typedef struct
663s # {
663s # GDBusInterfaceInfo parent_struct;
663s # const gchar *hyphen_name;
663s # } _ExtendedGDBusInterfaceInfo;
663s #
663s # typedef struct
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # guint prop_id;
663s # GValue orig_value; /* the value before the change */
663s # } ChangedProperty;
663s #
663s # static void
663s # _changed_property_free (ChangedProperty *data)
663s # {
663s # g_value_unset (&data->orig_value);
663s # g_free (data);
663s # }
663s #
663s # static gboolean
663s # _g_strv_equal0 (gchar **a, gchar **b)
663s # {
663s # gboolean ret = FALSE;
663s # guint n;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # if (g_strv_length (a) != g_strv_length (b))
663s # goto out;
663s # for (n = 0; a[n] != NULL; n++)
663s # if (g_strcmp0 (a[n], b[n]) != 0)
663s # goto out;
663s # ret = TRUE;
663s # out:
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _g_variant_equal0 (GVariant *a, GVariant *b)
663s # {
663s # gboolean ret = FALSE;
663s # if (a == NULL && b == NULL)
663s # {
663s # ret = TRUE;
663s # goto out;
663s # }
663s # if (a == NULL || b == NULL)
663s # goto out;
663s # ret = g_variant_equal (a, b);
663s # out:
663s # return ret;
663s # }
663s #
663s # G_GNUC_UNUSED static gboolean
663s # _g_value_equal (const GValue *a, const GValue *b)
663s # {
663s # gboolean ret = FALSE;
663s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
663s # switch (G_VALUE_TYPE (a))
663s # {
663s # case G_TYPE_BOOLEAN:
663s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
663s # break;
663s # case G_TYPE_UCHAR:
663s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
663s # break;
663s # case G_TYPE_INT:
663s # ret = (g_value_get_int (a) == g_value_get_int (b));
663s # break;
663s # case G_TYPE_UINT:
663s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
663s # break;
663s # case G_TYPE_INT64:
663s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
663s # break;
663s # case G_TYPE_UINT64:
663s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
663s # break;
663s # case G_TYPE_DOUBLE:
663s # {
663s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
663s # gdouble da = g_value_get_double (a);
663s # gdouble db = g_value_get_double (b);
663s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
663s # }
663s # break;
663s # case G_TYPE_STRING:
663s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
663s # break;
663s # case G_TYPE_VARIANT:
663s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
663s # break;
663s # default:
663s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
663s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
663s # else
663s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
663s # break;
663s # }
663s # return ret;
663s # }
663s #
663s # static void
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint G_GNUC_UNUSED,
663s # void *marshal_data)
663s # {
663s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
663s # (void *data1,
663s # GDBusMethodInvocation *arg_method_invocation,
663s # void *data2);
663s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
663s # GCClosure *cc = (GCClosure*) closure;
663s # void *data1, *data2;
663s # gboolean v_return;
663s #
663s # g_return_if_fail (return_value != NULL);
663s # g_return_if_fail (n_param_values == 2);
663s #
663s # if (G_CCLOSURE_SWAP_DATA (closure))
663s # {
663s # data1 = closure->data;
663s # data2 = g_value_peek_pointer (param_values + 0);
663s # }
663s # else
663s # {
663s # data1 = g_value_peek_pointer (param_values + 0);
663s # data2 = closure->data;
663s # }
663s #
663s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
663s # (marshal_data ? marshal_data : cc->callback);
663s #
663s # v_return =
663s # callback (data1,
663s # g_marshal_value_peek_object (param_values + 1),
663s # data2);
663s #
663s # g_value_set_boolean (return_value, v_return);
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface com.acme.Coyote
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:ComAcmeCoyote
663s # * @title: ComAcmeCoyote
663s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
663s # *
663s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
663s # */
663s #
663s # enum
663s # {
663s # _COM_ACME_COYOTE_SURPRISED,
663s # };
663s #
663s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
663s #
663s # /* ---- Introspection data for com.acme.Coyote ---- */
663s #
663s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Run",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-run",
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Sleep",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-sleep",
663s # FALSE
663s # };
663s #
663s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Attack",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-attack",
663s # FALSE
663s # };
663s #
663s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
663s # {
663s # &_com_acme_coyote_method_info_run.parent_struct,
663s # &_com_acme_coyote_method_info_sleep.parent_struct,
663s # &_com_acme_coyote_method_info_attack.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Surprised",
663s # NULL,
663s # NULL
663s # },
663s # "surprised"
663s # };
663s #
663s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
663s # {
663s # &_com_acme_coyote_signal_info_surprised.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
663s # {
663s # {
663s # -1,
663s # (gchar *) "Mood",
663s # (gchar *) "s",
663s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
663s # NULL
663s # },
663s # "mood",
663s # FALSE,
663s # TRUE
663s # };
663s #
663s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
663s # {
663s # &_com_acme_coyote_property_info_mood.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "com.acme.Coyote",
663s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
663s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
663s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
663s # NULL
663s # },
663s # "com-acme-coyote",
663s # };
663s #
663s #
663s # /**
663s # * com_acme_coyote_interface_info:
663s # *
663s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # com_acme_coyote_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
663s # {
663s # g_object_class_override_property (klass, property_id_begin++, "mood");
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # com_acme_coyote_signal_marshal_surprised (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # g_cclosure_marshal_VOID__VOID (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # com_acme_coyote_method_marshal_run (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # com_acme_coyote_method_marshal_sleep (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s # inline static void
663s # com_acme_coyote_method_marshal_attack (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * ComAcmeCoyote:
663s # *
663s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
663s # */
663s #
663s # /**
663s # * ComAcmeCoyoteIface:
663s # * @parent_iface: The parent interface.
663s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
663s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
663s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
663s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
663s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
663s # *
663s # * Virtual table for the D-Bus interface com.acme.Coyote.
663s # */
663s #
663s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
663s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
663s #
663s # static void
663s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
663s # {
663s # /* GObject signals for incoming D-Bus method calls: */
663s # /**
663s # * ComAcmeCoyote::handle-run:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-run",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # com_acme_coyote_method_marshal_run,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # /**
663s # * ComAcmeCoyote::handle-sleep:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-sleep",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # com_acme_coyote_method_marshal_sleep,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # /**
663s # * ComAcmeCoyote::handle-attack:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-attack",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # com_acme_coyote_method_marshal_attack,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # /* GObject signals for received D-Bus signals: */
663s # /**
663s # * ComAcmeCoyote::surprised:
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
663s # *
663s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
663s # */
663s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
663s # g_signal_new ("surprised",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
663s # NULL,
663s # NULL,
663s # com_acme_coyote_signal_marshal_surprised,
663s # G_TYPE_NONE,
663s # 0);
663s #
663s # /* GObject properties for D-Bus properties: */
663s # /**
663s # * ComAcmeCoyote:mood:
663s # *
663s # * Represents the D-Bus property "Mood".
663s # *
663s # * 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.
663s # */
663s # g_object_interface_install_property (iface,
663s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
663s # }
663s #
663s # /**
663s # * com_acme_coyote_get_mood: (skip)
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * Gets the value of the "Mood" D-Bus property.
663s # *
663s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # const gchar *
663s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
663s # {
663s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
663s #
663s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_dup_mood: (skip)
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * Gets a copy of the "Mood" D-Bus property.
663s # *
663s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
663s # *
663s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
663s # */
663s # gchar *
663s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
663s # {
663s # gchar *value;
663s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
663s # return value;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_set_mood: (skip)
663s # * @object: A #ComAcmeCoyote.
663s # * @value: The value to set.
663s # *
663s # * Sets the "Mood" D-Bus property to @value.
663s # *
663s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
663s # */
663s # void
663s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
663s # {
663s # g_object_set (G_OBJECT (object), "mood", value, NULL);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_emit_surprised:
663s # * @object: A #ComAcmeCoyote.
663s # *
663s # * Emits the "Surprised" D-Bus signal.
663s # */
663s # void
663s # com_acme_coyote_emit_surprised (
663s # ComAcmeCoyote *object)
663s # {
663s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_run:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the Run() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # com_acme_coyote_call_run (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "Run",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_run_finish:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with com_acme_coyote_call_run().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_run_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_run_sync:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_run_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "Run",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_sleep:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # com_acme_coyote_call_sleep (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "Sleep",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_sleep_finish:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with com_acme_coyote_call_sleep().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_sleep_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_sleep_sync:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_sleep_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "Sleep",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_attack:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # com_acme_coyote_call_attack (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "Attack",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_attack_finish:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with com_acme_coyote_call_attack().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_attack_finish (
663s # ComAcmeCoyote *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_call_attack_sync:
663s # * @proxy: A #ComAcmeCoyoteProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # com_acme_coyote_call_attack_sync (
663s # ComAcmeCoyote *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "Attack",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_complete_run:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # com_acme_coyote_complete_run (
663s # ComAcmeCoyote *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /**
663s # * com_acme_coyote_complete_sleep:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # com_acme_coyote_complete_sleep (
663s # ComAcmeCoyote *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /**
663s # * com_acme_coyote_complete_attack:
663s # * @object: A #ComAcmeCoyote.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # com_acme_coyote_complete_attack (
663s # ComAcmeCoyote *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * ComAcmeCoyoteProxy:
663s # *
663s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * ComAcmeCoyoteProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #ComAcmeCoyoteProxy.
663s # */
663s #
663s # struct _ComAcmeCoyoteProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # com_acme_coyote_proxy_finalize (GObject *object)
663s # {
663s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_get_property (GObject *object,
663s # guint prop_id,
663s # GValue *value,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # GVariant *variant;
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
663s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
663s # if (info->use_gvariant)
663s # {
663s # g_value_set_variant (value, variant);
663s # }
663s # else
663s # {
663s # if (variant != NULL)
663s # g_dbus_gvariant_to_gvalue (variant, value);
663s # }
663s # if (variant != NULL)
663s # g_variant_unref (variant);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
663s # GAsyncResult *res,
663s # gpointer user_data)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info = user_data;
663s # GError *error;
663s # GVariant *_ret;
663s # error = NULL;
663s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
663s # if (!_ret)
663s # {
663s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
663s # info->parent_struct.name,
663s # error->message, g_quark_to_string (error->domain), error->code);
663s # g_error_free (error);
663s # }
663s # else
663s # {
663s # g_variant_unref (_ret);
663s # }
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_set_property (GObject *object,
663s # guint prop_id,
663s # const GValue *value,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # GVariant *variant;
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
663s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_dbus_proxy_call (G_DBUS_PROXY (object),
663s # "org.freedesktop.DBus.Properties.Set",
663s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
663s # g_variant_unref (variant);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static const gchar *
663s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
663s # {
663s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
663s # GVariant *variant;
663s # const gchar *value = NULL;
663s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
663s # if (variant != NULL)
663s # {
663s # value = g_variant_get_string (variant, NULL);
663s # g_variant_unref (variant);
663s # }
663s # return value;
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
663s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
663s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
663s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
663s #
663s # com_acme_coyote_override_properties (gobject_class, 1);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
663s # {
663s # iface->get_mood = com_acme_coyote_proxy_get_mood;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # com_acme_coyote_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with com_acme_coyote_proxy_new().
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # com_acme_coyote_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return COM_ACME_COYOTE (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * ComAcmeCoyoteSkeleton:
663s # *
663s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * ComAcmeCoyoteSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #ComAcmeCoyoteSkeleton.
663s # */
663s #
663s # struct _ComAcmeCoyoteSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _com_acme_coyote_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _com_acme_coyote_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _com_acme_coyote_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
663s # {
663s # _com_acme_coyote_skeleton_handle_method_call,
663s # _com_acme_coyote_skeleton_handle_get_property,
663s # _com_acme_coyote_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return com_acme_coyote_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
663s #
663s # static void
663s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
663s # gboolean emit_changed = FALSE;
663s #
663s # g_mutex_lock (&skeleton->priv->lock);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # {
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # skeleton->priv->changed_properties_idle_source = NULL;
663s # emit_changed = TRUE;
663s # }
663s # g_mutex_unlock (&skeleton->priv->lock);
663s #
663s # if (emit_changed)
663s # _com_acme_coyote_emit_changed (skeleton);
663s # }
663s #
663s # static void
663s # _com_acme_coyote_on_signal_surprised (
663s # ComAcmeCoyote *object)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s #
663s # GList *connections, *l;
663s # GVariant *signal_variant;
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s #
663s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
663s # for (l = connections; l != NULL; l = l->next)
663s # {
663s # GDBusConnection *connection = l->data;
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
663s # signal_variant, NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s #
663s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # com_acme_coyote_skeleton_finalize (GObject *object)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # guint n;
663s # for (n = 0; n < 1; n++)
663s # g_value_unset (&skeleton->priv->properties[n]);
663s # g_free (skeleton->priv->properties);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_get_property (GObject *object,
663s # guint prop_id,
663s # GValue *value,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # g_mutex_lock (&skeleton->priv->lock);
663s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # }
663s #
663s # static gboolean
663s # _com_acme_coyote_emit_changed (gpointer user_data)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
663s # GList *l;
663s # GVariantBuilder builder;
663s # GVariantBuilder invalidated_builder;
663s # guint num_changes;
663s #
663s # g_mutex_lock (&skeleton->priv->lock);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
663s # #else
663s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
663s # #endif
663s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
663s # {
663s # ChangedProperty *cp = l->data;
663s # GVariant *variant;
663s # const GValue *cur_value;
663s #
663s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
663s # if (!_g_value_equal (cur_value, &cp->orig_value))
663s # {
663s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
663s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
663s # g_variant_unref (variant);
663s # num_changes++;
663s # }
663s # }
663s # if (num_changes > 0)
663s # {
663s # GList *connections, *ll;
663s # GVariant *signal_variant;
663s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
663s # &builder, &invalidated_builder));
663s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
663s # for (ll = connections; ll != NULL; ll = ll->next)
663s # {
663s # GDBusConnection *connection = ll->data;
663s #
663s # g_dbus_connection_emit_signal (connection,
663s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
663s # "org.freedesktop.DBus.Properties",
663s # "PropertiesChanged",
663s # signal_variant,
663s # NULL);
663s # }
663s # g_variant_unref (signal_variant);
663s # g_list_free_full (connections, g_object_unref);
663s # }
663s # else
663s # {
663s # g_variant_builder_clear (&builder);
663s # g_variant_builder_clear (&invalidated_builder);
663s # }
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # skeleton->priv->changed_properties = NULL;
663s # skeleton->priv->changed_properties_idle_source = NULL;
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # return FALSE;
663s # }
663s #
663s # static void
663s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
663s # {
663s # ChangedProperty *cp;
663s # GList *l;
663s # cp = NULL;
663s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
663s # {
663s # ChangedProperty *i_cp = l->data;
663s # if (i_cp->info == info)
663s # {
663s # cp = i_cp;
663s # break;
663s # }
663s # }
663s # if (cp == NULL)
663s # {
663s # cp = g_new0 (ChangedProperty, 1);
663s # cp->prop_id = prop_id;
663s # cp->info = info;
663s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
663s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
663s # g_value_copy (orig_value, &cp->orig_value);
663s # }
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_notify (GObject *object,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # g_mutex_lock (&skeleton->priv->lock);
663s # if (skeleton->priv->changed_properties != NULL &&
663s # skeleton->priv->changed_properties_idle_source == NULL)
663s # {
663s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
663s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
663s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
663s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
663s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
663s # g_source_unref (skeleton->priv->changed_properties_idle_source);
663s # }
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_set_property (GObject *object,
663s # guint prop_id,
663s # const GValue *value,
663s # GParamSpec *pspec)
663s # {
663s # const _ExtendedGDBusPropertyInfo *info;
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # g_assert (prop_id != 0 && prop_id - 1 < 1);
663s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
663s # g_mutex_lock (&skeleton->priv->lock);
663s # g_object_freeze_notify (object);
663s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
663s # {
663s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
663s # info->emits_changed_signal)
663s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
663s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
663s # g_object_notify_by_pspec (object, pspec);
663s # }
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # g_object_thaw_notify (object);
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # skeleton->priv->properties = g_new0 (GValue, 1);
663s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
663s # }
663s #
663s # static const gchar *
663s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
663s # {
663s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
663s # const gchar *value;
663s # g_mutex_lock (&skeleton->priv->lock);
663s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
663s # g_mutex_unlock (&skeleton->priv->lock);
663s # return value;
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
663s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
663s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
663s # gobject_class->notify = com_acme_coyote_skeleton_notify;
663s #
663s #
663s # com_acme_coyote_override_properties (gobject_class, 1);
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
663s # {
663s # iface->surprised = _com_acme_coyote_on_signal_surprised;
663s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
663s # }
663s #
663s # /**
663s # * com_acme_coyote_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
663s # *
663s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
663s # */
663s # ComAcmeCoyote *
663s # com_acme_coyote_skeleton_new (void)
663s # {
663s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
663s # }
663s #
663s # /* ------------------------------------------------------------------------
663s # * Code for interface org.project.Bar.Frobnicator
663s # * ------------------------------------------------------------------------
663s # */
663s #
663s # /**
663s # * SECTION:OrgProjectBarFrobnicator
663s # * @title: OrgProjectBarFrobnicator
663s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
663s # *
663s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
663s # */
663s #
663s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
663s #
663s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
663s # {
663s # {
663s # -1,
663s # (gchar *) "RandomMethod",
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "handle-random-method",
663s # FALSE
663s # };
663s #
663s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
663s # {
663s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
663s # NULL
663s # };
663s #
663s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
663s # {
663s # {
663s # -1,
663s # (gchar *) "org.project.Bar.Frobnicator",
663s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
663s # NULL,
663s # NULL,
663s # NULL
663s # },
663s # "org-project-bar-frobnicator",
663s # };
663s #
663s #
663s # /**
663s # * org_project_bar_frobnicator_interface_info:
663s # *
663s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
663s # *
663s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
663s # */
663s # GDBusInterfaceInfo *
663s # org_project_bar_frobnicator_interface_info (void)
663s # {
663s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_override_properties:
663s # * @klass: The class structure for a #GObject derived class.
663s # * @property_id_begin: The property id to assign to the first overridden property.
663s # *
663s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
663s # * The properties are overridden in the order they are defined.
663s # *
663s # * Returns: The last property id.
663s # */
663s # guint
663s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
663s # {
663s # return property_id_begin - 1;
663s # }
663s #
663s #
663s # inline static void
663s # org_project_bar_frobnicator_method_marshal_random_method (
663s # GClosure *closure,
663s # GValue *return_value,
663s # unsigned int n_param_values,
663s # const GValue *param_values,
663s # void *invocation_hint,
663s # void *marshal_data)
663s # {
663s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
663s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
663s # }
663s #
663s #
663s # /**
663s # * OrgProjectBarFrobnicator:
663s # *
663s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
663s # */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorIface:
663s # * @parent_iface: The parent interface.
663s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
663s # *
663s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
663s # */
663s #
663s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
663s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
663s #
663s # static void
663s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
663s # {
663s # /* GObject signals for incoming D-Bus method calls: */
663s # /**
663s # * OrgProjectBarFrobnicator::handle-random-method:
663s # * @object: A #OrgProjectBarFrobnicator.
663s # * @invocation: A #GDBusMethodInvocation.
663s # *
663s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
663s # *
663s # * 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.
663s # *
663s # * 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.
663s # */
663s # g_signal_new ("handle-random-method",
663s # G_TYPE_FROM_INTERFACE (iface),
663s # G_SIGNAL_RUN_LAST,
663s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
663s # g_signal_accumulator_true_handled,
663s # NULL,
663s # org_project_bar_frobnicator_method_marshal_random_method,
663s # G_TYPE_BOOLEAN,
663s # 1,
663s # G_TYPE_DBUS_METHOD_INVOCATION);
663s #
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_call_random_method:
663s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
663s # *
663s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
663s # */
663s # void
663s # org_project_bar_frobnicator_call_random_method (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
663s # "RandomMethod",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # callback,
663s # user_data);
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_call_random_method_finish:
663s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # org_project_bar_frobnicator_call_random_method_finish (
663s # OrgProjectBarFrobnicator *proxy,
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_call_random_method_sync:
663s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL.
663s # *
663s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
663s # *
663s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
663s # */
663s # gboolean
663s # org_project_bar_frobnicator_call_random_method_sync (
663s # OrgProjectBarFrobnicator *proxy,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GVariant *_ret;
663s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
663s # "RandomMethod",
663s # g_variant_new ("()"),
663s # G_DBUS_CALL_FLAGS_NONE,
663s # -1,
663s # cancellable,
663s # error);
663s # if (_ret == NULL)
663s # goto _out;
663s # g_variant_get (_ret,
663s # "()");
663s # g_variant_unref (_ret);
663s # _out:
663s # return _ret != NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_complete_random_method:
663s # * @object: A #OrgProjectBarFrobnicator.
663s # * @invocation: (transfer full): A #GDBusMethodInvocation.
663s # *
663s # * 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.
663s # *
663s # * This method will free @invocation, you cannot use it afterwards.
663s # */
663s # void
663s # org_project_bar_frobnicator_complete_random_method (
663s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
663s # GDBusMethodInvocation *invocation)
663s # {
663s # g_dbus_method_invocation_return_value (invocation,
663s # g_variant_new ("()"));
663s # }
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorProxy:
663s # *
663s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorProxyClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectBarFrobnicatorProxy.
663s # */
663s #
663s # struct _OrgProjectBarFrobnicatorProxyPrivate
663s # {
663s # GData *qdata;
663s # };
663s #
663s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
663s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
663s # {
663s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
663s # g_datalist_clear (&proxy->priv->qdata);
663s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
663s # guint prop_id G_GNUC_UNUSED,
663s # const GValue *value G_GNUC_UNUSED,
663s # GParamSpec *pspec G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
663s # const gchar *sender_name G_GNUC_UNUSED,
663s # const gchar *signal_name,
663s # GVariant *parameters)
663s # {
663s # _ExtendedGDBusSignalInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # gsize n;
663s # guint signal_id;
663s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
663s # if (info == NULL)
663s # return;
663s # num_params = g_variant_n_children (parameters);
663s # paramv = g_new0 (GValue, num_params + 1);
663s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_value_set_object (¶mv[0], proxy);
663s # g_variant_iter_init (&iter, parameters);
663s # n = 1;
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_signal_emitv (paramv, signal_id, 0, NULL);
663s # for (n = 0; n < num_params + 1; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
663s # GVariant *changed_properties,
663s # const gchar *const *invalidated_properties)
663s # {
663s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
663s # guint n;
663s # const gchar *key;
663s # GVariantIter *iter;
663s # _ExtendedGDBusPropertyInfo *info;
663s # g_variant_get (changed_properties, "a{sv}", &iter);
663s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
663s # g_datalist_remove_data (&proxy->priv->qdata, key);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # g_variant_iter_free (iter);
663s # for (n = 0; invalidated_properties[n] != NULL; n++)
663s # {
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
663s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
663s # if (info != NULL)
663s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
663s # }
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
663s # #else
663s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
663s # #endif
663s #
663s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusProxyClass *proxy_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
663s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
663s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
663s #
663s # proxy_class = G_DBUS_PROXY_CLASS (klass);
663s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
663s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_bar_frobnicator_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_sync:
663s # * @connection: A #GDBusConnection.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_for_bus:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
663s # * @user_data: User data to pass to @callback.
663s # *
663s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
663s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
663s # */
663s # void
663s # org_project_bar_frobnicator_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data)
663s # {
663s # 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);
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
663s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
663s # * @error: Return location for error or %NULL
663s # *
663s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error)
663s # {
663s # GObject *ret;
663s # GObject *source_object;
663s # source_object = g_async_result_get_source_object (res);
663s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
663s # g_object_unref (source_object);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
663s # * @bus_type: A #GBusType.
663s # * @flags: Flags from the #GDBusProxyFlags enumeration.
663s # * @name: A bus name (well-known or unique).
663s # * @object_path: An object path.
663s # * @cancellable: (nullable): A #GCancellable or %NULL.
663s # * @error: Return location for error or %NULL
663s # *
663s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
663s # *
663s # * The calling thread is blocked until a reply is received.
663s # *
663s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error)
663s # {
663s # GInitable *ret;
663s # 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);
663s # if (ret != NULL)
663s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
663s # else
663s # return NULL;
663s # }
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorSkeleton:
663s # *
663s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
663s # */
663s #
663s # /**
663s # * OrgProjectBarFrobnicatorSkeletonClass:
663s # * @parent_class: The parent class.
663s # *
663s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
663s # */
663s #
663s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
663s # {
663s # GValue *properties;
663s # GList *changed_properties;
663s # GSource *changed_properties_idle_source;
663s # GMainContext *context;
663s # GMutex lock;
663s # };
663s #
663s # static void
663s # _org_project_bar_frobnicator_skeleton_handle_method_call (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name,
663s # const gchar *method_name,
663s # GVariant *parameters,
663s # GDBusMethodInvocation *invocation,
663s # gpointer user_data)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
663s # _ExtendedGDBusMethodInfo *info;
663s # GVariantIter iter;
663s # GVariant *child;
663s # GValue *paramv;
663s # gsize num_params;
663s # guint num_extra;
663s # gsize n;
663s # guint signal_id;
663s # GValue return_value = G_VALUE_INIT;
663s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
663s # g_assert (info != NULL);
663s # num_params = g_variant_n_children (parameters);
663s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
663s # n = 0;
663s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_value_set_object (¶mv[n++], skeleton);
663s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
663s # g_value_set_object (¶mv[n++], invocation);
663s # if (info->pass_fdlist)
663s # {
663s # #ifdef G_OS_UNIX
663s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
663s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
663s # #else
663s # g_assert_not_reached ();
663s # #endif
663s # }
663s # g_variant_iter_init (&iter, parameters);
663s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
663s # {
663s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
663s # if (arg_info->use_gvariant)
663s # {
663s # g_value_init (¶mv[n], G_TYPE_VARIANT);
663s # g_value_set_variant (¶mv[n], child);
663s # n++;
663s # }
663s # else
663s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
663s # g_variant_unref (child);
663s # }
663s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
663s # g_value_init (&return_value, G_TYPE_BOOLEAN);
663s # g_signal_emitv (paramv, signal_id, 0, &return_value);
663s # if (!g_value_get_boolean (&return_value))
663s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
663s # g_value_unset (&return_value);
663s # for (n = 0; n < num_params + num_extra; n++)
663s # g_value_unset (¶mv[n]);
663s # g_free (paramv);
663s # }
663s #
663s # static GVariant *
663s # _org_project_bar_frobnicator_skeleton_handle_get_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # GVariant *ret;
663s # ret = NULL;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # g_value_init (&value, pspec->value_type);
663s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
663s # g_value_unset (&value);
663s # }
663s # return ret;
663s # }
663s #
663s # static gboolean
663s # _org_project_bar_frobnicator_skeleton_handle_set_property (
663s # GDBusConnection *connection G_GNUC_UNUSED,
663s # const gchar *sender G_GNUC_UNUSED,
663s # const gchar *object_path G_GNUC_UNUSED,
663s # const gchar *interface_name G_GNUC_UNUSED,
663s # const gchar *property_name,
663s # GVariant *variant,
663s # GError **error,
663s # gpointer user_data)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
663s # GValue value = G_VALUE_INIT;
663s # GParamSpec *pspec;
663s # _ExtendedGDBusPropertyInfo *info;
663s # gboolean ret;
663s # ret = FALSE;
663s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
663s # g_assert (info != NULL);
663s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
663s # if (pspec == NULL)
663s # {
663s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
663s # }
663s # else
663s # {
663s # if (info->use_gvariant)
663s # g_value_set_variant (&value, variant);
663s # else
663s # g_dbus_gvariant_to_gvalue (variant, &value);
663s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
663s # g_value_unset (&value);
663s # ret = TRUE;
663s # }
663s # return ret;
663s # }
663s #
663s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
663s # {
663s # _org_project_bar_frobnicator_skeleton_handle_method_call,
663s # _org_project_bar_frobnicator_skeleton_handle_get_property,
663s # _org_project_bar_frobnicator_skeleton_handle_set_property,
663s # {NULL}
663s # };
663s #
663s # static GDBusInterfaceInfo *
663s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return org_project_bar_frobnicator_interface_info ();
663s # }
663s #
663s # static GDBusInterfaceVTable *
663s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
663s # {
663s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
663s # }
663s #
663s # static GVariant *
663s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
663s #
663s # GVariantBuilder builder;
663s # guint n;
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
663s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #else
663s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
663s # #endif
663s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
663s # goto out;
663s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
663s # {
663s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
663s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
663s # {
663s # GVariant *value;
663s # 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);
663s # if (value != NULL)
663s # {
663s # g_variant_take_ref (value);
663s # g_variant_builder_add (&builder, "{sv}", info->name, value);
663s # g_variant_unref (value);
663s # }
663s # }
663s # }
663s # out:
663s # return g_variant_builder_end (&builder);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
663s #
663s # #else
663s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
663s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
663s #
663s # #endif
663s # static void
663s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
663s # {
663s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
663s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
663s # if (skeleton->priv->changed_properties_idle_source != NULL)
663s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
663s # g_main_context_unref (skeleton->priv->context);
663s # g_mutex_clear (&skeleton->priv->lock);
663s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
663s # {
663s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
663s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
663s # #else
663s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
663s # #endif
663s #
663s # g_mutex_init (&skeleton->priv->lock);
663s # skeleton->priv->context = g_main_context_ref_thread_default ();
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
663s # {
663s # GObjectClass *gobject_class;
663s # GDBusInterfaceSkeletonClass *skeleton_class;
663s #
663s # gobject_class = G_OBJECT_CLASS (klass);
663s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
663s #
663s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
663s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
663s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
663s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
663s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
663s #
663s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
663s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
663s # #endif
663s # }
663s #
663s # static void
663s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
663s # {
663s # }
663s #
663s # /**
663s # * org_project_bar_frobnicator_skeleton_new:
663s # *
663s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
663s # *
663s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
663s # */
663s # OrgProjectBarFrobnicator *
663s # org_project_bar_frobnicator_skeleton_new (void)
663s # {
663s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
663s # }
663s # Error:
663s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations
663s # gdbus-codegen: /usr/bin/gdbus-codegen
663s # tmpdir: /tmp/tmpdbrxo_ac
663s # /tmp/tmpdbrxo_ac/tmphnrprqn7.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdbrxo_ac/tmphnrprqn7.xml', '--output', '-', '--header']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s # /* Declarations for FDPassing */
663s #
663s # #define TYPE_FDPASSING (fdpassing_get_type ())
663s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
663s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
663s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
663s #
663s # struct _FDPassing;
663s # typedef struct _FDPassing FDPassing;
663s # typedef struct _FDPassingIface FDPassingIface;
663s #
663s # struct _FDPassingIface
663s # {
663s # GTypeInterface parent_iface;
663s #
663s # gboolean (*handle_hello_fd) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # const gchar *arg_greeting);
663s #
663s # gboolean (*handle_no_annotation) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale);
663s #
663s # gboolean (*handle_no_annotation_nested) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GVariant *arg_files);
663s #
663s # };
663s #
663s # GType fdpassing_get_type (void) G_GNUC_CONST;
663s #
663s # GDBusInterfaceInfo *fdpassing_interface_info (void);
663s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
663s #
663s #
663s # /* D-Bus method call completion functions: */
663s # void fdpassing_complete_hello_fd (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # const gchar *response);
663s #
663s # void fdpassing_complete_no_annotation (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GVariant *response,
663s # const gchar *response_locale);
663s #
663s # void fdpassing_complete_no_annotation_nested (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s #
663s #
663s # /* D-Bus method calls: */
663s # void fdpassing_call_hello_fd (
663s # FDPassing *proxy,
663s # const gchar *arg_greeting,
663s # GUnixFDList *fd_list,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_hello_fd_finish (
663s # FDPassing *proxy,
663s # gchar **out_response,
663s # GUnixFDList **out_fd_list,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_hello_fd_sync (
663s # FDPassing *proxy,
663s # const gchar *arg_greeting,
663s # GUnixFDList *fd_list,
663s # gchar **out_response,
663s # GUnixFDList **out_fd_list,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_call_no_annotation (
663s # FDPassing *proxy,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_no_annotation_finish (
663s # FDPassing *proxy,
663s # GVariant **out_response,
663s # gchar **out_response_locale,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_no_annotation_sync (
663s # FDPassing *proxy,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale,
663s # GVariant **out_response,
663s # gchar **out_response_locale,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_call_no_annotation_nested (
663s # FDPassing *proxy,
663s # GVariant *arg_files,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_no_annotation_nested_finish (
663s # FDPassing *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_no_annotation_nested_sync (
663s # FDPassing *proxy,
663s # GVariant *arg_files,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
663s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
663s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
663s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
663s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
663s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
663s #
663s # typedef struct _FDPassingProxy FDPassingProxy;
663s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
663s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
663s #
663s # struct _FDPassingProxy
663s # {
663s # /*< private >*/
663s # GDBusProxy parent_instance;
663s # FDPassingProxyPrivate *priv;
663s # };
663s #
663s # struct _FDPassingProxyClass
663s # {
663s # GDBusProxyClass parent_class;
663s # };
663s #
663s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
663s # #endif
663s #
663s # void fdpassing_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # FDPassing *fdpassing_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # FDPassing *fdpassing_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # FDPassing *fdpassing_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # FDPassing *fdpassing_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
663s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
663s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
663s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
663s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
663s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
663s #
663s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
663s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
663s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
663s #
663s # struct _FDPassingSkeleton
663s # {
663s # /*< private >*/
663s # GDBusInterfaceSkeleton parent_instance;
663s # FDPassingSkeletonPrivate *priv;
663s # };
663s #
663s # struct _FDPassingSkeletonClass
663s # {
663s # GDBusInterfaceSkeletonClass parent_class;
663s # };
663s #
663s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
663s # #endif
663s #
663s # FDPassing *fdpassing_skeleton_new (void);
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s #
663s # /tmp/tmpdbrxo_ac/tmpkpsuo01r.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdbrxo_ac/tmpkpsuo01r.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s # /* Declarations for FDPassing */
663s #
663s # #define TYPE_FDPASSING (fdpassing_get_type ())
663s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
663s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
663s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
663s #
663s # struct _FDPassing;
663s # typedef struct _FDPassing FDPassing;
663s # typedef struct _FDPassingIface FDPassingIface;
663s #
663s # struct _FDPassingIface
663s # {
663s # GTypeInterface parent_iface;
663s #
663s # gboolean (*handle_hello_fd) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # const gchar *arg_greeting);
663s #
663s # gboolean (*handle_no_annotation) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale);
663s #
663s # gboolean (*handle_no_annotation_nested) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GVariant *arg_files);
663s #
663s # };
663s #
663s # GType fdpassing_get_type (void) G_GNUC_CONST;
663s #
663s # GDBusInterfaceInfo *fdpassing_interface_info (void);
663s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
663s #
663s #
663s # /* D-Bus method call completion functions: */
663s # void fdpassing_complete_hello_fd (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # const gchar *response);
663s #
663s # void fdpassing_complete_no_annotation (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GVariant *response,
663s # const gchar *response_locale);
663s #
663s # void fdpassing_complete_no_annotation_nested (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation);
663s #
663s #
663s #
663s # /* D-Bus method calls: */
663s # void fdpassing_call_hello_fd (
663s # FDPassing *proxy,
663s # const gchar *arg_greeting,
663s # GUnixFDList *fd_list,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_hello_fd_finish (
663s # FDPassing *proxy,
663s # gchar **out_response,
663s # GUnixFDList **out_fd_list,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_hello_fd_sync (
663s # FDPassing *proxy,
663s # const gchar *arg_greeting,
663s # GUnixFDList *fd_list,
663s # gchar **out_response,
663s # GUnixFDList **out_fd_list,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_call_no_annotation (
663s # FDPassing *proxy,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_no_annotation_finish (
663s # FDPassing *proxy,
663s # GVariant **out_response,
663s # gchar **out_response_locale,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_no_annotation_sync (
663s # FDPassing *proxy,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale,
663s # GVariant **out_response,
663s # gchar **out_response_locale,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_call_no_annotation_nested (
663s # FDPassing *proxy,
663s # GVariant *arg_files,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_no_annotation_nested_finish (
663s # FDPassing *proxy,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_no_annotation_nested_sync (
663s # FDPassing *proxy,
663s # GVariant *arg_files,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
663s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
663s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
663s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
663s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
663s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
663s #
663s # typedef struct _FDPassingProxy FDPassingProxy;
663s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
663s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
663s #
663s # struct _FDPassingProxy
663s # {
663s # /*< private >*/
663s # GDBusProxy parent_instance;
663s # FDPassingProxyPrivate *priv;
663s # };
663s #
663s # struct _FDPassingProxyClass
663s # {
663s # GDBusProxyClass parent_class;
663s # };
663s #
663s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
663s # #endif
663s #
663s # void fdpassing_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # FDPassing *fdpassing_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # FDPassing *fdpassing_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # FDPassing *fdpassing_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # FDPassing *fdpassing_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
663s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
663s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
663s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
663s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
663s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
663s #
663s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
663s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
663s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
663s #
663s # struct _FDPassingSkeleton
663s # {
663s # /*< private >*/
663s # GDBusInterfaceSkeleton parent_instance;
663s # FDPassingSkeletonPrivate *priv;
663s # };
663s #
663s # struct _FDPassingSkeletonClass
663s # {
663s # GDBusInterfaceSkeletonClass parent_class;
663s # };
663s #
663s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
663s # #endif
663s #
663s # FDPassing *fdpassing_skeleton_new (void);
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s #
663s # /tmp/tmpdbrxo_ac/tmpj1ztw36t.xml:
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s #
663s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdbrxo_ac/tmpj1ztw36t.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
663s # Return code: 0
663s # Output:
663s # /*
663s # * This file is generated by gdbus-codegen, do not modify it.
663s # *
663s # * The license of this code is the same as for the D-Bus interface description
663s # * it was derived from. Note that it links to GLib, so must comply with the
663s # * LGPL linking clauses.
663s # */
663s #
663s # #ifndef __STDOUT__
663s # #define __STDOUT__
663s #
663s # #include
663s #
663s # G_BEGIN_DECLS
663s #
663s #
663s # /* ------------------------------------------------------------------------ */
663s # /* Declarations for FDPassing */
663s #
663s # #define TYPE_FDPASSING (fdpassing_get_type ())
663s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
663s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
663s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
663s #
663s # struct _FDPassing;
663s # typedef struct _FDPassing FDPassing;
663s # typedef struct _FDPassingIface FDPassingIface;
663s #
663s # struct _FDPassingIface
663s # {
663s # GTypeInterface parent_iface;
663s #
663s # gboolean (*handle_hello_fd) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # const gchar *arg_greeting);
663s #
663s # gboolean (*handle_no_annotation) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale);
663s #
663s # gboolean (*handle_no_annotation_nested) (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # GVariant *arg_files);
663s #
663s # };
663s #
663s # GType fdpassing_get_type (void) G_GNUC_CONST;
663s #
663s # GDBusInterfaceInfo *fdpassing_interface_info (void);
663s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
663s #
663s #
663s # /* D-Bus method call completion functions: */
663s # void fdpassing_complete_hello_fd (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # const gchar *response);
663s #
663s # void fdpassing_complete_no_annotation (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list,
663s # GVariant *response,
663s # const gchar *response_locale);
663s #
663s # void fdpassing_complete_no_annotation_nested (
663s # FDPassing *object,
663s # GDBusMethodInvocation *invocation,
663s # GUnixFDList *fd_list);
663s #
663s #
663s #
663s # /* D-Bus method calls: */
663s # void fdpassing_call_hello_fd (
663s # FDPassing *proxy,
663s # const gchar *arg_greeting,
663s # GDBusCallFlags call_flags,
663s # gint timeout_msec,
663s # GUnixFDList *fd_list,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_hello_fd_finish (
663s # FDPassing *proxy,
663s # gchar **out_response,
663s # GUnixFDList **out_fd_list,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_hello_fd_sync (
663s # FDPassing *proxy,
663s # const gchar *arg_greeting,
663s # GDBusCallFlags call_flags,
663s # gint timeout_msec,
663s # GUnixFDList *fd_list,
663s # gchar **out_response,
663s # GUnixFDList **out_fd_list,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_call_no_annotation (
663s # FDPassing *proxy,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale,
663s # GDBusCallFlags call_flags,
663s # gint timeout_msec,
663s # GUnixFDList *fd_list,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_no_annotation_finish (
663s # FDPassing *proxy,
663s # GVariant **out_response,
663s # gchar **out_response_locale,
663s # GUnixFDList **out_fd_list,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_no_annotation_sync (
663s # FDPassing *proxy,
663s # GVariant *arg_greeting,
663s # const gchar *arg_greeting_locale,
663s # GDBusCallFlags call_flags,
663s # gint timeout_msec,
663s # GUnixFDList *fd_list,
663s # GVariant **out_response,
663s # gchar **out_response_locale,
663s # GUnixFDList **out_fd_list,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_call_no_annotation_nested (
663s # FDPassing *proxy,
663s # GVariant *arg_files,
663s # GDBusCallFlags call_flags,
663s # gint timeout_msec,
663s # GUnixFDList *fd_list,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s #
663s # gboolean fdpassing_call_no_annotation_nested_finish (
663s # FDPassing *proxy,
663s # GUnixFDList **out_fd_list,
663s # GAsyncResult *res,
663s # GError **error);
663s #
663s # gboolean fdpassing_call_no_annotation_nested_sync (
663s # FDPassing *proxy,
663s # GVariant *arg_files,
663s # GDBusCallFlags call_flags,
663s # gint timeout_msec,
663s # GUnixFDList *fd_list,
663s # GUnixFDList **out_fd_list,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
663s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
663s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
663s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
663s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
663s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
663s #
663s # typedef struct _FDPassingProxy FDPassingProxy;
663s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
663s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
663s #
663s # struct _FDPassingProxy
663s # {
663s # /*< private >*/
663s # GDBusProxy parent_instance;
663s # FDPassingProxyPrivate *priv;
663s # };
663s #
663s # struct _FDPassingProxyClass
663s # {
663s # GDBusProxyClass parent_class;
663s # };
663s #
663s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
663s # #endif
663s #
663s # void fdpassing_proxy_new (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # FDPassing *fdpassing_proxy_new_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # FDPassing *fdpassing_proxy_new_sync (
663s # GDBusConnection *connection,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s # void fdpassing_proxy_new_for_bus (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GAsyncReadyCallback callback,
663s # gpointer user_data);
663s # FDPassing *fdpassing_proxy_new_for_bus_finish (
663s # GAsyncResult *res,
663s # GError **error);
663s # FDPassing *fdpassing_proxy_new_for_bus_sync (
663s # GBusType bus_type,
663s # GDBusProxyFlags flags,
663s # const gchar *name,
663s # const gchar *object_path,
663s # GCancellable *cancellable,
663s # GError **error);
663s #
663s #
663s # /* ---- */
663s #
663s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
663s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
663s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
663s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
663s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
663s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
663s #
663s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
663s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
663s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
663s #
663s # struct _FDPassingSkeleton
663s # {
663s # /*< private >*/
663s # GDBusInterfaceSkeleton parent_instance;
663s # FDPassingSkeletonPrivate *priv;
663s # };
663s #
663s # struct _FDPassingSkeletonClass
663s # {
663s # GDBusInterfaceSkeletonClass parent_class;
663s # };
663s #
663s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
663s #
663s # #if GLIB_CHECK_VERSION(2, 44, 0)
663s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
663s # #endif
663s #
663s # FDPassing *fdpassing_skeleton_new (void);
663s #
663s #
663s # G_END_DECLS
663s #
663s # #endif /* __STDOUT__ */
663s # Error:
663s 1..39
663s ok - glib/codegen.py.test
663s # Running test: glib/signals-refcount2.test
663s TAP version 14
663s # random seed: R02Sb3ec9a9d55a41ca2601bb3e9e007de02
663s 1..1
663s # Start of gobject tests
663s # Start of refcount tests
663s # init 0x2aa093b1dc0
663s #
663s # init 0x2aa093ae310
663s #
665s # Executing: glib/signals-refcount2.test
668s # dispose 0x2aa093b1dc0!
668s #
668s # dispose 0x2aa093ae310!
668s #
668s ok 1 /gobject/refcount/signals
668s # slow test /gobject/refcount/signals executed in 5.00 secs
668s # End of refcount tests
668s # End of gobject tests
668s ok - glib/signals-refcount2.test
668s # Running test: glib/network-address.test
668s TAP version 14
668s # random seed: R02Sb359d72a5906ed073a8da3536531bdbd
668s 1..72
668s # Start of network-address tests
668s ok 1 /network-address/basic
668s ok 2 /network-address/scope-id
668s ok 3 /network-address/uri-scope-id
668s ok 4 /network-address/to-string
668s # Start of parse-host tests
668s ok 5 /network-address/parse-host/0
668s ok 6 /network-address/parse-host/1
668s ok 7 /network-address/parse-host/2
668s ok 8 /network-address/parse-host/3
668s ok 9 /network-address/parse-host/4
668s ok 10 /network-address/parse-host/5
668s ok 11 /network-address/parse-host/6
668s ok 12 /network-address/parse-host/7
668s ok 13 /network-address/parse-host/8
668s ok 14 /network-address/parse-host/9
668s ok 15 /network-address/parse-host/10
668s ok 16 /network-address/parse-host/11
668s ok 17 /network-address/parse-host/12
668s ok 18 /network-address/parse-host/13
668s # End of parse-host tests
668s # Start of parse-uri tests
668s ok 19 /network-address/parse-uri/0
668s ok 20 /network-address/parse-uri/1
668s ok 21 /network-address/parse-uri/2
668s ok 22 /network-address/parse-uri/3
668s ok 23 /network-address/parse-uri/4
668s ok 24 /network-address/parse-uri/5
668s ok 25 /network-address/parse-uri/6
668s ok 26 /network-address/parse-uri/7
668s ok 27 /network-address/parse-uri/8
668s ok 28 /network-address/parse-uri/9
668s # End of parse-uri tests
668s # Start of resolve-address tests
668s # Input: 192.168.1.2
668s ok 29 /network-address/resolve-address/0
668s # Input: fe80::42
668s ok 30 /network-address/resolve-address/1
668s # Input: 192.168.1.2:80
668s ok 31 /network-address/resolve-address/2
668s # Input: [fe80::42]
668s ok 32 /network-address/resolve-address/3
668s # Input: [fe80::42]:80
668s ok 33 /network-address/resolve-address/4
668s # Input: 192.168.258
668s ok 34 /network-address/resolve-address/5
668s # Input: 192.11010306
668s ok 35 /network-address/resolve-address/6
668s # Input: 3232235778
668s ok 36 /network-address/resolve-address/7
668s # Input: 0300.0250.0001.0001
668s ok 37 /network-address/resolve-address/8
668s # Input: 0xC0.0xA8.0x01.0x02
668s ok 38 /network-address/resolve-address/9
668s # Input: 0xc0.0xa8.0x01.0x02
668s ok 39 /network-address/resolve-address/10
668s # Input: 0xc0a80102
668s ok 40 /network-address/resolve-address/11
668s # End of resolve-address tests
668s # Start of loopback tests
668s ok 41 /network-address/loopback/basic
668s ok 42 /network-address/loopback/sync
668s ok 43 /network-address/loopback/async
668s # End of loopback tests
668s # Start of localhost tests
668s ok 44 /network-address/localhost/async
668s ok 45 /network-address/localhost/sync
668s # End of localhost tests
668s # Start of happy-eyeballs tests
668s ok 46 /network-address/happy-eyeballs/basic
669s ok 47 /network-address/happy-eyeballs/parallel
669s ok 48 /network-address/happy-eyeballs/slow-ipv4
669s ok 49 /network-address/happy-eyeballs/slow-ipv6
669s ok 50 /network-address/happy-eyeballs/very-slow-ipv6
670s # Executing: glib/network-address.test
670s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4
670s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs
670s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
670s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first
670s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
670s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first
670s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865
670s # /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.
670s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
670s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow
670s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
670s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first
670s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
670s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first
670s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
670s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
670s ok 57 /network-address/happy-eyeballs/both-error
670s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
670s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
670s ok 58 /network-address/happy-eyeballs/both-error-delays-1
670s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
670s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
670s ok 59 /network-address/happy-eyeballs/both-error-delays-2
670s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
670s ok 60 /network-address/happy-eyeballs/both-error-delays-3
670s # End of happy-eyeballs tests
670s # End of network-address tests
670s # Start of gresolver tests
670s # Start of resolve-address tests
670s # Input: 192.168.1.2
670s ok 61 /gresolver/resolve-address/0
670s # Input: fe80::42
670s ok 62 /gresolver/resolve-address/1
670s # Input: 192.168.1.2:80
670s # Error: Error resolving ?192.168.1.2:80?: Name or service not known
670s ok 63 /gresolver/resolve-address/2
670s # Input: [fe80::42]
670s # Error: Error resolving ?[fe80::42]?: Name or service not known
670s ok 64 /gresolver/resolve-address/3
670s # Input: [fe80::42]:80
670s # Error: Error resolving ?[fe80::42]:80?: Name or service not known
670s ok 65 /gresolver/resolve-address/4
670s # Input: 192.168.258
670s # Error: Error resolving ?192.168.258?: Name or service not known
670s ok 66 /gresolver/resolve-address/5
670s # Input: 192.11010306
670s # Error: Error resolving ?192.11010306?: Name or service not known
670s ok 67 /gresolver/resolve-address/6
670s # Input: 3232235778
670s # Error: Error resolving ?3232235778?: Name or service not known
670s ok 68 /gresolver/resolve-address/7
670s # Input: 0300.0250.0001.0001
670s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known
670s ok 69 /gresolver/resolve-address/8
670s ok - glib/network-address.test
670s # Running test: glib/spawn-multithreaded.test
670s # Input: 0xC0.0xA8.0x01.0x02
670s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known
670s ok 70 /gresolver/resolve-address/9
670s # Input: 0xc0.0xa8.0x01.0x02
670s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known
670s ok 71 /gresolver/resolve-address/10
670s # Input: 0xc0a80102
670s # Error: Error resolving ?0xc0a80102?: Name or service not known
670s ok 72 /gresolver/resolve-address/11
670s # End of resolve-address tests
670s # End of gresolver tests
670s TAP version 14
670s # random seed: R02S14576a0a87c4386d7da6311405f1c893
670s 1..4
670s # Start of gthread tests
671s # Child 3988 (ttl 1) exited, status 0
672s # Child 3989 (ttl 2) exited, status 0
672s ok 1 /gthread/spawn-childs
672s # slow test /gthread/spawn-childs executed in 2.00 secs
672s # Created pid: 3993 (ttl 1)
672s # Created pid: 3994 (ttl 2)
673s # Child 3993 (ttl 1) exited, status 0
674s # Child 3994 (ttl 2) exited, status 0
674s ok 2 /gthread/spawn-childs-threads
674s # slow test /gthread/spawn-childs-threads executed in 2.00 secs
674s ok 3 /gthread/spawn-sync
674s ok 4 /gthread/spawn-async
674s # End of gthread tests
674s ok - glib/spawn-multithreaded.test
674s # Running test: glib/cond.test
674s TAP version 14
674s # random seed: R02S944dd7988502d8dee2f3d8b58443188b
674s 1..4
674s # Start of thread tests
674s ok 1 /thread/cond1
674s ok 2 /thread/cond2
674s # Start of cond tests
675s # Executing: glib/cond.test
675s ok 3 /thread/cond/wait-until
675s # slow test /thread/cond/wait-until executed in 1.02 secs
675s # Start of wait-until tests
675s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex
675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957
676s ok 4 /thread/cond/wait-until/contended-and-interrupted
676s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs
676s # End of wait-until tests
676s # End of cond tests
676s # End of thread tests
676s ok - glib/cond.test
676s # Running test: glib/atomic-c-99.test
676s TAP version 14
676s # random seed: R02Saeb9f1f53f42ff544d4192d0bcd0dc53
676s 1..2
676s # Start of atomic tests
676s ok 1 /atomic/types
676s ok - glib/atomic-c-99.test
676s # Running test: glib/power-profile-monitor-portal.test
676s ok 2 /atomic/threaded
676s # End of atomic tests
677s TAP version 13
677s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available
677s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available
677s 1..2
677s ok - glib/power-profile-monitor-portal.test
677s # Running test: glib/macros-c-89.test
677s TAP version 14
677s ok - glib/macros-c-89.test
677s # random seed: R02S412dba4f74828a763b099d5f0965b5e8
677s 1..4
677s # Start of C tests
677s ok 1 /C/standard-89
677s # End of C tests
677s # Start of alignof tests
677s ok 2 /alignof/fallback
677s # End of alignof tests
677s # Start of assert tests
677s ok 3 /assert/static
677s # End of assert tests
677s # Start of struct tests
677s ok 4 /struct/sizeof_member
677s # End of struct tests
677s # Running test: glib/fileutils.test
677s TAP version 14
677s # random seed: R02Sc5126d0055fea5b388ed1d56c637da55
677s 1..27
677s # Start of fileutils tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/paths/.dirs/runtime
677s ok 1 /fileutils/paths
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/build-path/.dirs/runtime
677s ok 2 /fileutils/build-path
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/build-pathv/.dirs/runtime
677s ok 3 /fileutils/build-pathv
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/build-filename/.dirs/runtime
677s ok 4 /fileutils/build-filename
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/build-filenamev/.dirs/runtime
677s ok 5 /fileutils/build-filenamev
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents/.dirs/runtime
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # Checking g_mkdir_with_parents() in subdir ./hum/
677s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/
677s ok 6 /fileutils/mkdir-with-parents
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/mkdir-with-parents-permission/.dirs/runtime
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s ok 7 /fileutils/mkdir-with-parents-permission
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/format-size-for-display/.dirs/runtime
677s ok 8 /fileutils/format-size-for-display
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/errors/.dirs/runtime
677s ok 9 /fileutils/errors
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/basename/.dirs/runtime
677s ok 10 /fileutils/basename
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/get-basename/.dirs/runtime
677s ok 11 /fileutils/get-basename
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/dirname/.dirs/runtime
677s ok 12 /fileutils/dirname
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/dir-make-tmp/.dirs/runtime
677s ok 13 /fileutils/dir-make-tmp
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/file-open-tmp/.dirs/runtime
677s ok 14 /fileutils/file-open-tmp
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/file-test/.dirs/runtime
677s ok 15 /fileutils/file-test
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/mkstemp/.dirs/runtime
677s ok 16 /fileutils/mkstemp
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/mkdtemp/.dirs/runtime
677s ok 17 /fileutils/mkdtemp
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/get-contents/.dirs/runtime
677s ok 18 /fileutils/get-contents
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/get-contents-large-file/.dirs/runtime
677s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/set-contents/.dirs/runtime
677s ok 20 /fileutils/set-contents
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/.dirs/runtime
677s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags
677s # Flags 0 and test 0
677s # Flags 0 and test 1
677s # Flags 0 and test 2
677s # Flags 0 and test 3
677s # Flags 0 and test 4
677s # Flags 0 and test 5
677s # Flags 1 and test 0
677s # Flags 1 and test 1
677s # Flags 1 and test 2
677s # Flags 1 and test 3
677s # Flags 1 and test 4
677s # Flags 1 and test 5
677s # Flags 2 and test 0
677s # Flags 2 and test 1
677s # Flags 2 and test 2
677s # Flags 2 and test 3
677s # Flags 2 and test 4
677s # Flags 2 and test 5
677s # Flags 3 and test 0
677s # Flags 3 and test 1
677s # Flags 3 and test 2
677s # Flags 3 and test 3
677s # Flags 3 and test 4
677s # Flags 3 and test 5
677s # Flags 4 and test 0
677s # Flags 4 and test 1
677s # Flags 4 and test 2
677s # Flags 4 and test 3
677s # Flags 4 and test 4
677s # Flags 4 and test 5
677s # Flags 5 and test 0
677s # Flags 5 and test 1
677s # Flags 5 and test 2
677s # Flags 5 and test 3
677s # Flags 5 and test 4
677s # Flags 5 and test 5
677s # Flags 6 and test 0
677s # Flags 6 and test 1
677s # Flags 6 and test 2
677s # Flags 6 and test 3
677s # Flags 6 and test 4
677s # Flags 6 and test 5
677s ok 21 /fileutils/set-contents-full
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/read-link/.dirs/runtime
677s ok 22 /fileutils/read-link
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/stdio-wrappers/.dirs/runtime
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s ok 23 /fileutils/stdio-wrappers
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/fopen-modes/.dirs/runtime
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119
677s # Testing fopen() mode 'w'
677s # Testing fopen() mode 'r'
677s # Testing fopen() mode 'a'
677s # Testing fopen() mode 'w+'
677s # Testing fopen() mode 'r+'
677s # Testing fopen() mode 'a+'
677s # Testing fopen() mode 'wb'
677s # Testing fopen() mode 'rb'
677s # Testing fopen() mode 'ab'
677s # Testing fopen() mode 'w+b'
677s # Testing fopen() mode 'r+b'
677s # Testing fopen() mode 'a+b'
677s # Testing fopen() mode 'wb+'
677s # Testing fopen() mode 'rb+'
677s # Testing fopen() mode 'ab+'
677s ok 24 /fileutils/fopen-modes
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/clear-fd/.dirs/runtime
677s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd
677s # Will be closed by autocleanup: 3, -42
677s # Testing error handling
677s ok 25 /fileutils/clear-fd
677s # Start of set-contents-full tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-file/.dirs/runtime
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file
677s ok 26 /fileutils/set-contents-full/read-only-file
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WSVS52/fileutils/set-contents-full/read-only-directory/.dirs/runtime
677s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory
677s # Flags 0
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # Flags 1
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # Flags 2
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # Flags 3
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # Flags 4
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # Flags 5
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s # Flags 6
677s # We do not have CAP_DAC_OVERRIDE or equivalent
677s ok 27 /fileutils/set-contents-full/read-only-directory
677s # End of set-contents-full tests
677s # Start of clear-fd tests
677s # Start of subprocess tests
677s # End of subprocess tests
677s # End of clear-fd tests
677s # End of fileutils tests
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52/glib-file-set-contents-full-rodir-L6OZ52: Directory not empty
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52/glib-file-set-contents-full-rodir-1PZZ52: Directory not empty
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52/glib-file-set-contents-full-rodir-F6VZ52: Directory not empty
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52/glib-file-set-contents-full-rodir-IZXZ52: Directory not empty
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52/glib-file-set-contents-full-rodir-XMQZ52: Directory not empty
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52/glib-file-set-contents-full-rodir-35NZ52: Directory not empty
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52/glib-file-set-contents-full-rodir-0H0Z52: Directory not empty
677s Unable to clean up temporary directory /tmp/test_fileutils_WSVS52: Directory not empty
677s ok - glib/fileutils.test
677s # Running test: glib/application-command-line.test
677s TAP version 14
677s # random seed: R02S802d6fd5a676f72b1e75ea91198b8b33
677s 1..1
677s # Start of application-command-line tests
677s ok 1 /application-command-line/basic-properties
677s # End of application-command-line tests
677s ok - glib/application-command-line.test
677s # Running test: glib/unicode-normalize.test
677s TAP version 14
677s # random seed: R02S981a5ab4194ae6d6c2bb09a904c5ada7
677s 1..3
677s # Start of unicode tests
677s # Processing Part0 # Specific cases
677s # Processing Part1 # Character by character test
677s # Processing Part2 # Canonical Order Test
677s # Processing Part3 # PRI #29 Test
677s # Processing Part4 # Canonical closures (excluding Hangul)
677s # Processing Part5 # Chained primary composites
677s ok 1 /unicode/normalize
677s # Invalid UTF-8 vector 0
677s # Invalid UTF-8 vector 1
677s # Invalid UTF-8 vector 2
677s # Invalid UTF-8 vector 3
677s # Invalid UTF-8 vector 4
677s # Invalid UTF-8 vector 5
677s # Invalid UTF-8 vector 6
677s # Invalid UTF-8 vector 7
677s # Invalid UTF-8 vector 8
677s # Invalid UTF-8 vector 9
677s # Invalid UTF-8 vector 10
677s # Invalid UTF-8 vector 11
677s # Invalid UTF-8 vector 12
677s ok 2 /unicode/normalize-invalid
677s # Start of normalize tests
677s ok 3 /unicode/normalize/bad-length
677s ok - glib/unicode-normalize.test
677s # End of normalize tests
677s # End of unicode tests
677s # Running test: glib/enums.test
677s TAP version 14
677s # random seed: R02S199755c035af3431908e24c327283c4d
677s 1..4
677s # Start of enum tests
677s ok 1 /enum/basic
677s ok 2 /enum/define-type
677s # End of enum tests
677s # Start of flags tests
677s ok 3 /flags/basic
677s ok 4 /flags/define-type
677s # End of flags tests
677s ok - glib/enums.test
677s # Running test: glib/static-link.test
677s Test disabled because GLIB_TEST_COMPILATION is not set in the env.
677s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env,
677s and make sure you have glib build dependencies installed, including
677s meson.
677s ok # SKIP - glib/static-link.test
677s # Running test: glib/node.test
677s TAP version 14
677s # random seed: R02S9c20a1efa2805dde0fb7165837cca475
677s 1..6
677s # Start of node tests
677s ok 1 /node/allocation
677s ok 2 /node/construction
677s ok 3 /node/traversal
677s ok 4 /node/misc
677s ok 5 /node/unlink
677s ok 6 /node/copy
677s # End of node tests
677s ok - glib/node.test
677s # Running test: glib/objects-refcount2.test
677s TAP version 14
677s # random seed: R02S5633cf126920bb704c139aad54348574
677s 1..1
677s # Start of gobject tests
677s # Start of refcount tests
677s # init 0x2aa25f1b3f0
677s #
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
677s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
678s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
679s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # Executing: glib/objects-refcount2.test
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
680s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # .
681s # dispose 0x2aa25f1b3f0!
681s #
681s ok 1 /gobject/refcount/object-advanced
681s # slow test /gobject/refcount/object-advanced executed in 3.74 secs
681s # End of refcount tests
681s # End of gobject tests
681s ok - glib/objects-refcount2.test
681s # Running test: glib/properties-introspection.test
681s TAP version 14
681s # random seed: R02Sed015298de5bec17325f14f59803f7b2
681s 1..2
681s # Start of properties tests
681s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool.
681s ok 1 /properties/introspection
681s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool.
681s ok 2 /properties/collision
681s # End of properties tests
681s ok - glib/properties-introspection.test
681s # Running test: glib/notify-init2.test
681s TAP version 14
681s # random seed: R02S53fd9da55aa6816e59166fac416842f0
681s 1..1
681s # Start of properties tests
681s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works
681s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
681s ok 1 /properties/notify-in-init2
681s # End of properties tests
681s ok - glib/notify-init2.test
681s # Running test: glib/array-test.test
681s TAP version 14
681s # random seed: R02S7d0b112b13bf8c90e0cf073d67e49cdd
681s 1..113
681s # Start of array tests
681s ok 1 /array/ref-count
681s ok 2 /array/steal
681s ok 3 /array/clear-func
681s ok 4 /array/binary-search
681s # /array/copy-sized summary: Test that copying a newly-allocated sized array works.
681s ok 5 /array/copy-sized
681s ok 6 /array/overflow-append-vals
681s ok 7 /array/overflow-set-size
681s # Start of new tests
681s ok 8 /array/new/zero-terminated
681s ok 9 /array/new/take
681s ok 10 /array/new/take-zero-terminated
681s # Start of take tests
681s ok 11 /array/new/take/empty
681s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
681s # End of take tests
681s # End of new tests
681s # Start of set-size tests
681s ok 13 /array/set-size/non-zero-terminated-no-clear
681s ok 14 /array/set-size/non-zero-terminated-clear
681s ok 15 /array/set-size/zero-terminated-no-clear
681s ok 16 /array/set-size/zero-terminated-clear
681s # Start of sized tests
681s ok 17 /array/set-size/sized/non-zero-terminated-no-clear
681s ok 18 /array/set-size/sized/non-zero-terminated-clear
681s ok 19 /array/set-size/sized/zero-terminated-no-clear
681s ok 20 /array/set-size/sized/zero-terminated-clear
681s # End of sized tests
681s # End of set-size tests
681s # Start of append-val tests
681s ok 21 /array/append-val/non-zero-terminated-no-clear
681s ok 22 /array/append-val/non-zero-terminated-clear
681s ok 23 /array/append-val/zero-terminated-no-clear
681s ok 24 /array/append-val/zero-terminated-clear
681s # End of append-val tests
681s # Start of prepend-val tests
681s ok 25 /array/prepend-val/non-zero-terminated-no-clear
681s ok 26 /array/prepend-val/non-zero-terminated-clear
681s ok 27 /array/prepend-val/zero-terminated-no-clear
681s ok 28 /array/prepend-val/zero-terminated-clear
681s # End of prepend-val tests
681s # Start of prepend-vals tests
681s ok 29 /array/prepend-vals/non-zero-terminated-no-clear
681s ok 30 /array/prepend-vals/non-zero-terminated-clear
681s ok 31 /array/prepend-vals/zero-terminated-no-clear
681s ok 32 /array/prepend-vals/zero-terminated-clear
681s # End of prepend-vals tests
681s # Start of insert-vals tests
681s ok 33 /array/insert-vals/non-zero-terminated-no-clear
681s ok 34 /array/insert-vals/non-zero-terminated-clear
681s ok 35 /array/insert-vals/zero-terminated-no-clear
681s ok 36 /array/insert-vals/zero-terminated-clear
681s # End of insert-vals tests
681s # Start of remove-index tests
681s ok 37 /array/remove-index/non-zero-terminated-no-clear
681s ok 38 /array/remove-index/non-zero-terminated-clear
681s ok 39 /array/remove-index/zero-terminated-no-clear
681s ok 40 /array/remove-index/zero-terminated-clear
681s # End of remove-index tests
681s # Start of remove-index-fast tests
681s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear
681s ok 42 /array/remove-index-fast/non-zero-terminated-clear
681s ok 43 /array/remove-index-fast/zero-terminated-no-clear
681s ok 44 /array/remove-index-fast/zero-terminated-clear
681s # End of remove-index-fast tests
681s # Start of remove-range tests
681s ok 45 /array/remove-range/non-zero-terminated-no-clear
681s ok 46 /array/remove-range/non-zero-terminated-clear
681s ok 47 /array/remove-range/zero-terminated-no-clear
681s ok 48 /array/remove-range/zero-terminated-clear
681s # End of remove-range tests
681s # Start of copy tests
681s ok 49 /array/copy/non-zero-terminated-no-clear
681s ok 50 /array/copy/non-zero-terminated-clear
681s ok 51 /array/copy/zero-terminated-no-clear
681s ok 52 /array/copy/zero-terminated-clear
681s # End of copy tests
681s # Start of sort tests
681s ok 53 /array/sort/non-zero-terminated-no-clear
681s ok 54 /array/sort/non-zero-terminated-clear
681s ok 55 /array/sort/zero-terminated-no-clear
681s ok 56 /array/sort/zero-terminated-clear
681s # End of sort tests
681s # Start of sort-with-data tests
681s ok 57 /array/sort-with-data/non-zero-terminated-no-clear
681s ok 58 /array/sort-with-data/non-zero-terminated-clear
681s ok 59 /array/sort-with-data/zero-terminated-no-clear
681s ok 60 /array/sort-with-data/zero-terminated-clear
681s # End of sort-with-data tests
681s # End of array tests
681s # Start of pointerarray tests
681s ok 61 /pointerarray/add
681s ok 62 /pointerarray/insert
681s ok 63 /pointerarray/new-take
681s ok 64 /pointerarray/new-take-null-terminated
681s ok 65 /pointerarray/new-from-array
681s ok 66 /pointerarray/new-from-null-terminated-array
681s ok 67 /pointerarray/free-func
681s ok 68 /pointerarray/array_extend_and_steal
681s ok 69 /pointerarray/sort
681s ok 70 /pointerarray/sort-with-data
681s ok 71 /pointerarray/sort-values
681s ok 72 /pointerarray/sort-values-with-data
681s ok 73 /pointerarray/remove-range
681s ok 74 /pointerarray/steal
681s # Start of free tests
681s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array
681s ok 75 /pointerarray/free/null-terminated
681s # End of free tests
681s # Start of new-take tests
681s ok 76 /pointerarray/new-take/empty
681s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
681s ok 78 /pointerarray/new-take/with-free-func
681s # End of new-take tests
681s # Start of new-take-null-terminated tests
681s ok 79 /pointerarray/new-take-null-terminated/empty
681s ok 80 /pointerarray/new-take-null-terminated/with-free-func
681s ok 81 /pointerarray/new-take-null-terminated/from-gstrv
681s # End of new-take-null-terminated tests
681s # Start of new-from-array tests
681s ok 82 /pointerarray/new-from-array/empty
681s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
681s ok 84 /pointerarray/new-from-array/with-copy-and-free-func
681s # End of new-from-array tests
681s # Start of new-from-null-terminated-array tests
681s ok 85 /pointerarray/new-from-null-terminated-array/empty
681s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func
681s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv
681s # End of new-from-null-terminated-array tests
681s # Start of ref-count tests
681s ok 88 /pointerarray/ref-count/not-null-terminated
681s ok 89 /pointerarray/ref-count/null-terminated
681s # End of ref-count tests
681s # Start of array_copy tests
681s # /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
681s ok 90 /pointerarray/array_copy/not-null-terminated
681s # /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
681s ok 91 /pointerarray/array_copy/null-terminated
681s # End of array_copy tests
681s # Start of array_extend tests
681s ok 92 /pointerarray/array_extend/not-null-terminated
681s ok 93 /pointerarray/array_extend/null-terminated
681s # End of array_extend tests
681s # Start of sort tests
681s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct
681s ok 94 /pointerarray/sort/example
681s # End of sort tests
681s # Start of sort-with-data tests
681s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct
681s ok 95 /pointerarray/sort-with-data/example
681s # End of sort-with-data tests
681s # Start of sort-values tests
681s ok 96 /pointerarray/sort-values/example
681s # End of sort-values tests
681s # Start of sort-values-with-data tests
681s ok 97 /pointerarray/sort-values-with-data/example
681s # End of sort-values-with-data tests
681s # Start of find tests
681s ok 98 /pointerarray/find/empty
681s ok 99 /pointerarray/find/non-empty
681s # End of find tests
681s # Start of steal_index tests
681s ok 100 /pointerarray/steal_index/not-null-terminated
681s ok 101 /pointerarray/steal_index/null-terminated
681s # End of steal_index tests
681s # End of pointerarray tests
681s # Start of bytearray tests
681s ok 102 /bytearray/steal
681s ok 103 /bytearray/append
681s ok 104 /bytearray/prepend
681s ok 105 /bytearray/remove
681s ok 106 /bytearray/remove-fast
681s ok 107 /bytearray/remove-range
681s ok 108 /bytearray/ref-count
681s ok 109 /bytearray/sort
681s ok 110 /bytearray/sort-with-data
681s ok 111 /bytearray/new-take
681s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT.
681s ok 113 /bytearray/free-to-bytes
681s # End of bytearray tests
681s ok - glib/array-test.test
681s # Running test: glib/testing.test
681s TAP version 14
681s # random seed: R02Sd8009276394565603629931b1f8d76fa
681s 1..1
681s # Start of assert tests
681s ok 1 /assert/finalize_object
681s # Start of finalize_object tests
681s # Start of subprocess tests
681s # End of subprocess tests
681s # End of finalize_object tests
681s # End of assert tests
681s ok - glib/testing.test
681s # Running test: glib/value.test
681s TAP version 14
681s # random seed: R02S7d2b5e3a563c27a81d7cfd0492010744
681s 1..9
681s # Start of value tests
681s ok 1 /value/basic
681s ok 2 /value/collection
681s ok 3 /value/copying
681s ok 4 /value/enum-transformation
681s ok 5 /value/gtype
681s # /value/string summary: Test that G_TYPE_STRING GValue copy properly
681s ok 6 /value/string
681s # Next: GObject object in GValue of GObject to GValue of GObject
681s # Next: GObject object in GValue of GObject to GValue of TestInterface
681s # Next: GObject object in GValue of GObject to GValue of TestObjectA
681s # Next: GObject object in GValue of GObject to GValue of TestObjectB
681s # Next: GObject object in GValue of GObject to GValue of TestObjectA1
681s # Next: GObject object in GValue of GObject to GValue of TestObjectA2
681s # Next: TestObjectA object in GValue of GObject to GValue of GObject
681s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface
681s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA
681s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB
681s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1
681s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2
681s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject
681s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface
681s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA
681s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB
681s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1
681s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2
681s # Next: TestObjectB object in GValue of GObject to GValue of GObject
681s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface
681s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA
681s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB
681s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1
681s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2
681s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject
681s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface
681s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA
681s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB
681s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1
681s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2
681s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject
681s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface
681s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA
681s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB
681s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1
681s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2
681s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject
681s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface
681s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA
681s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB
681s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1
681s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2
681s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject
681s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface
681s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA
681s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB
681s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1
681s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2
681s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject
681s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface
681s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA
681s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB
681s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1
681s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2
681s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject
681s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface
681s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA
681s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB
681s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1
681s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2
681s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject
681s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface
681s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA
681s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB
681s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1
681s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2
681s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject
681s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface
681s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA
681s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB
681s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1
681s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2
681s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject
681s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface
681s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA
681s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB
681s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1
681s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2
681s ok 7 /value/transform-object
681s # Start of array tests
681s ok 8 /value/array/basic
681s ok 9 /value/array/sort-with-data
681s # End of array tests
681s # End of value tests
681s ok - glib/value.test
681s # Running test: glib/regex.test
681s TAP version 14
681s # random seed: R02Sf9ddd4cb1c3a986405bccfee07d3ea67
681s 1..848
681s # Start of regex tests
681s ok 1 /regex/properties
681s ok 2 /regex/class
681s ok 3 /regex/lookahead
681s ok 4 /regex/lookbehind
681s ok 5 /regex/subpattern
681s ok 6 /regex/condition
681s ok 7 /regex/recursion
681s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489
681s ok 8 /regex/multiline
681s ok 9 /regex/explicit-crlf
681s ok 10 /regex/max-lookbehind
681s ok 11 /regex/compile-errors
681s ok 12 /regex/jit-unsupported-matching
681s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried
681s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881
681s ok 13 /regex/unmatched-named-subpattern
681s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches
681s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824
681s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
681s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
681s ok 14 /regex/compiled-regex-after-jit-failure
681s # Start of new tests
681s ok 15 /regex/new/1
681s ok 16 /regex/new/2
681s ok 17 /regex/new/3
681s ok 18 /regex/new/4
681s ok 19 /regex/new/5
681s ok 20 /regex/new/6
681s ok 21 /regex/new/7
681s ok 22 /regex/new/8
681s ok 23 /regex/new/9
681s ok 24 /regex/new/10
681s ok 25 /regex/new/11
681s ok 26 /regex/new/12
681s ok 27 /regex/new/13
681s ok 28 /regex/new/14
681s ok 29 /regex/new/15
681s ok 30 /regex/new/16
681s ok 31 /regex/new/17
681s ok 32 /regex/new/18
681s ok 33 /regex/new/19
681s ok 34 /regex/new/71
681s ok 35 /regex/new/80
681s ok 36 /regex/new/82
681s # End of new tests
681s # Start of new-check-flags tests
681s ok 37 /regex/new-check-flags/20
681s ok 38 /regex/new-check-flags/21
681s ok 39 /regex/new-check-flags/22
681s ok 40 /regex/new-check-flags/23
681s ok 41 /regex/new-check-flags/24
681s ok 42 /regex/new-check-flags/25
681s ok 43 /regex/new-check-flags/26
681s ok 44 /regex/new-check-flags/27
681s ok 45 /regex/new-check-flags/28
681s ok 46 /regex/new-check-flags/29
681s ok 47 /regex/new-check-flags/30
681s ok 48 /regex/new-check-flags/31
681s ok 49 /regex/new-check-flags/32
681s ok 50 /regex/new-check-flags/33
681s ok 51 /regex/new-check-flags/34
681s ok 52 /regex/new-check-flags/35
681s ok 53 /regex/new-check-flags/36
681s # End of new-check-flags tests
681s # Start of new-fail tests
681s ok 54 /regex/new-fail/37
681s ok 55 /regex/new-fail/38
681s ok 56 /regex/new-fail/39
681s ok 57 /regex/new-fail/40
681s ok 58 /regex/new-fail/41
681s ok 59 /regex/new-fail/42
681s ok 60 /regex/new-fail/43
681s ok 61 /regex/new-fail/44
681s ok 62 /regex/new-fail/45
681s ok 63 /regex/new-fail/46
681s ok 64 /regex/new-fail/47
681s ok 65 /regex/new-fail/48
681s ok 66 /regex/new-fail/49
681s ok 67 /regex/new-fail/50
681s ok 68 /regex/new-fail/51
681s ok 69 /regex/new-fail/52
681s ok 70 /regex/new-fail/53
681s ok 71 /regex/new-fail/54
681s ok 72 /regex/new-fail/55
681s ok 73 /regex/new-fail/56
681s ok 74 /regex/new-fail/57
681s ok 75 /regex/new-fail/58
681s ok 76 /regex/new-fail/59
681s ok 77 /regex/new-fail/60
681s ok 78 /regex/new-fail/61
681s ok 79 /regex/new-fail/62
681s ok 80 /regex/new-fail/63
681s ok 81 /regex/new-fail/64
681s ok 82 /regex/new-fail/65
681s ok 83 /regex/new-fail/66
681s ok 84 /regex/new-fail/67
681s ok 85 /regex/new-fail/68
681s ok 86 /regex/new-fail/69
681s ok 87 /regex/new-fail/70
681s ok 88 /regex/new-fail/72
681s ok 89 /regex/new-fail/73
681s ok 90 /regex/new-fail/74
681s ok 91 /regex/new-fail/75
681s ok 92 /regex/new-fail/76
681s ok 93 /regex/new-fail/77
681s ok 94 /regex/new-fail/78
681s ok 95 /regex/new-fail/79
681s ok 96 /regex/new-fail/81
681s ok 97 /regex/new-fail/83
681s ok 98 /regex/new-fail/84
681s ok 99 /regex/new-fail/85
681s ok 100 /regex/new-fail/86
681s ok 101 /regex/new-fail/87
681s ok 102 /regex/new-fail/88
681s ok 103 /regex/new-fail/89
681s ok 104 /regex/new-fail/90
681s ok 105 /regex/new-fail/91
681s # End of new-fail tests
681s # Start of match-simple tests
681s ok 106 /regex/match-simple/92
681s ok 107 /regex/match-simple/93
681s ok 108 /regex/match-simple/94
681s ok 109 /regex/match-simple/95
681s ok 110 /regex/match-simple/96
681s ok 111 /regex/match-simple/97
681s ok 112 /regex/match-simple/98
681s ok 113 /regex/match-simple/99
681s ok 114 /regex/match-simple/100
681s ok 115 /regex/match-simple/101
681s ok 116 /regex/match-simple/102
681s ok 117 /regex/match-simple/103
681s ok 118 /regex/match-simple/104
681s ok 119 /regex/match-simple/105
681s ok 120 /regex/match-simple/106
681s ok 121 /regex/match-simple/107
681s ok 122 /regex/match-simple/108
681s ok 123 /regex/match-simple/109
681s ok 124 /regex/match-simple/110
681s ok 125 /regex/match-simple/111
681s ok 126 /regex/match-simple/112
681s ok 127 /regex/match-simple/113
681s ok 128 /regex/match-simple/114
681s ok 129 /regex/match-simple/115
681s ok 130 /regex/match-simple/116
681s ok 131 /regex/match-simple/117
681s ok 132 /regex/match-simple/118
681s ok 133 /regex/match-simple/119
681s ok 134 /regex/match-simple/120
681s ok 135 /regex/match-simple/121
681s ok 136 /regex/match-simple/122
681s ok 137 /regex/match-simple/123
681s ok 138 /regex/match-simple/124
681s ok 139 /regex/match-simple/125
681s ok 140 /regex/match-simple/126
681s ok 141 /regex/match-simple/127
681s ok 142 /regex/match-simple/128
681s ok 143 /regex/match-simple/129
681s ok 144 /regex/match-simple/130
681s ok 145 /regex/match-simple/131
681s ok 146 /regex/match-simple/132
681s ok 147 /regex/match-simple/133
681s ok 148 /regex/match-simple/134
681s ok 149 /regex/match-simple/135
681s ok 150 /regex/match-simple/136
681s ok 151 /regex/match-simple/137
681s ok 152 /regex/match-simple/138
681s ok 153 /regex/match-simple/139
681s ok 154 /regex/match-simple/140
681s ok 155 /regex/match-simple/141
681s ok 156 /regex/match-simple/142
681s ok 157 /regex/match-simple/143
681s ok 158 /regex/match-simple/144
681s ok 159 /regex/match-simple/145
681s ok 160 /regex/match-simple/146
681s ok 161 /regex/match-simple/147
681s ok 162 /regex/match-simple/148
681s ok 163 /regex/match-simple/149
681s ok 164 /regex/match-simple/150
681s ok 165 /regex/match-simple/151
681s ok 166 /regex/match-simple/152
681s ok 167 /regex/match-simple/153
681s ok 168 /regex/match-simple/154
681s ok 169 /regex/match-simple/155
681s ok 170 /regex/match-simple/156
681s ok 171 /regex/match-simple/157
681s ok 172 /regex/match-simple/158
681s ok 173 /regex/match-simple/159
681s ok 174 /regex/match-simple/160
681s ok 175 /regex/match-simple/161
681s ok 176 /regex/match-simple/162
681s ok 177 /regex/match-simple/163
681s ok 178 /regex/match-simple/164
681s # End of match-simple tests
681s # Start of match-simple-optimized tests
681s ok 179 /regex/match-simple-optimized/92
681s ok 180 /regex/match-simple-optimized/93
681s ok 181 /regex/match-simple-optimized/94
681s ok 182 /regex/match-simple-optimized/95
681s ok 183 /regex/match-simple-optimized/96
681s ok 184 /regex/match-simple-optimized/97
681s ok 185 /regex/match-simple-optimized/98
681s ok 186 /regex/match-simple-optimized/99
681s ok 187 /regex/match-simple-optimized/100
681s ok 188 /regex/match-simple-optimized/101
681s ok 189 /regex/match-simple-optimized/102
681s ok 190 /regex/match-simple-optimized/103
681s ok 191 /regex/match-simple-optimized/104
681s ok 192 /regex/match-simple-optimized/105
681s ok 193 /regex/match-simple-optimized/106
681s ok 194 /regex/match-simple-optimized/107
681s ok 195 /regex/match-simple-optimized/108
681s ok 196 /regex/match-simple-optimized/109
681s ok 197 /regex/match-simple-optimized/110
681s ok 198 /regex/match-simple-optimized/111
681s ok 199 /regex/match-simple-optimized/112
681s ok 200 /regex/match-simple-optimized/113
681s ok 201 /regex/match-simple-optimized/114
681s ok 202 /regex/match-simple-optimized/115
681s ok 203 /regex/match-simple-optimized/116
681s ok 204 /regex/match-simple-optimized/117
681s ok 205 /regex/match-simple-optimized/118
681s ok 206 /regex/match-simple-optimized/119
681s ok 207 /regex/match-simple-optimized/120
681s ok 208 /regex/match-simple-optimized/121
681s ok 209 /regex/match-simple-optimized/122
681s ok 210 /regex/match-simple-optimized/123
681s ok 211 /regex/match-simple-optimized/124
681s ok 212 /regex/match-simple-optimized/125
681s ok 213 /regex/match-simple-optimized/126
681s ok 214 /regex/match-simple-optimized/127
681s ok 215 /regex/match-simple-optimized/128
681s ok 216 /regex/match-simple-optimized/129
681s ok 217 /regex/match-simple-optimized/130
681s ok 218 /regex/match-simple-optimized/131
681s ok 219 /regex/match-simple-optimized/132
681s ok 220 /regex/match-simple-optimized/133
681s ok 221 /regex/match-simple-optimized/134
681s ok 222 /regex/match-simple-optimized/135
681s ok 223 /regex/match-simple-optimized/136
681s ok 224 /regex/match-simple-optimized/137
681s ok 225 /regex/match-simple-optimized/138
681s ok 226 /regex/match-simple-optimized/139
681s ok 227 /regex/match-simple-optimized/140
681s ok 228 /regex/match-simple-optimized/141
681s ok 229 /regex/match-simple-optimized/142
681s ok 230 /regex/match-simple-optimized/143
681s ok 231 /regex/match-simple-optimized/144
681s ok 232 /regex/match-simple-optimized/145
681s ok 233 /regex/match-simple-optimized/146
681s ok 234 /regex/match-simple-optimized/147
681s ok 235 /regex/match-simple-optimized/148
681s ok 236 /regex/match-simple-optimized/149
681s ok 237 /regex/match-simple-optimized/150
681s ok 238 /regex/match-simple-optimized/151
681s ok 239 /regex/match-simple-optimized/152
681s ok 240 /regex/match-simple-optimized/153
681s ok 241 /regex/match-simple-optimized/154
681s ok 242 /regex/match-simple-optimized/155
681s ok 243 /regex/match-simple-optimized/156
681s ok 244 /regex/match-simple-optimized/157
681s ok 245 /regex/match-simple-optimized/158
681s ok 246 /regex/match-simple-optimized/159
681s ok 247 /regex/match-simple-optimized/160
681s ok 248 /regex/match-simple-optimized/161
681s ok 249 /regex/match-simple-optimized/162
681s ok 250 /regex/match-simple-optimized/163
681s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
681s ok 251 /regex/match-simple-optimized/164
681s # End of match-simple-optimized tests
681s # Start of match tests
681s ok 252 /regex/match/165
681s ok 253 /regex/match/166
681s ok 254 /regex/match/167
681s ok 255 /regex/match/168
681s ok 256 /regex/match/169
681s ok 257 /regex/match/170
681s ok 258 /regex/match/171
681s ok 259 /regex/match/172
681s ok 260 /regex/match/173
681s ok 261 /regex/match/174
681s ok 262 /regex/match/175
681s ok 263 /regex/match/176
681s ok 264 /regex/match/177
681s ok 265 /regex/match/178
681s ok 266 /regex/match/179
681s ok 267 /regex/match/180
681s ok 268 /regex/match/181
681s ok 269 /regex/match/182
681s ok 270 /regex/match/183
681s ok 271 /regex/match/184
681s ok 272 /regex/match/185
681s ok 273 /regex/match/186
681s ok 274 /regex/match/187
681s ok 275 /regex/match/188
681s ok 276 /regex/match/189
681s ok 277 /regex/match/190
681s ok 278 /regex/match/191
681s ok 279 /regex/match/192
681s ok 280 /regex/match/193
681s ok 281 /regex/match/194
681s ok 282 /regex/match/195
681s ok 283 /regex/match/196
681s ok 284 /regex/match/197
681s ok 285 /regex/match/198
681s ok 286 /regex/match/199
681s ok 287 /regex/match/200
681s ok 288 /regex/match/201
681s ok 289 /regex/match/202
681s ok 290 /regex/match/203
681s ok 291 /regex/match/204
681s ok 292 /regex/match/205
681s ok 293 /regex/match/206
681s ok 294 /regex/match/207
681s ok 295 /regex/match/208
681s ok 296 /regex/match/209
681s ok 297 /regex/match/210
681s ok 298 /regex/match/211
681s ok 299 /regex/match/212
681s ok 300 /regex/match/213
681s ok 301 /regex/match/214
681s ok 302 /regex/match/215
681s ok 303 /regex/match/216
681s ok 304 /regex/match/217
681s ok 305 /regex/match/218
681s ok 306 /regex/match/219
681s ok 307 /regex/match/220
681s ok 308 /regex/match/221
681s ok 309 /regex/match/222
681s ok 310 /regex/match/223
681s ok 311 /regex/match/224
681s ok 312 /regex/match/225
681s ok 313 /regex/match/226
681s ok 314 /regex/match/227
681s ok 315 /regex/match/228
681s ok 316 /regex/match/229
681s ok 317 /regex/match/230
681s ok 318 /regex/match/231
681s ok 319 /regex/match/232
681s ok 320 /regex/match/233
681s ok 321 /regex/match/234
681s ok 322 /regex/match/235
681s ok 323 /regex/match/236
681s ok 324 /regex/match/237
681s ok 325 /regex/match/238
681s ok 326 /regex/match/239
681s ok 327 /regex/match/240
681s ok 328 /regex/match/241
681s ok 329 /regex/match/242
681s ok 330 /regex/match/243
681s ok 331 /regex/match/244
681s ok 332 /regex/match/245
681s ok 333 /regex/match/246
681s ok 334 /regex/match/partial281
681s ok 335 /regex/match/partial282
681s ok 336 /regex/match/partial283
681s ok 337 /regex/match/partial284
681s ok 338 /regex/match/partial285
681s ok 339 /regex/match/partial286
681s ok 340 /regex/match/partial287
681s ok 341 /regex/match/partial288
681s ok 342 /regex/match/partial289
681s ok 343 /regex/match/partial290
681s ok 344 /regex/match/partial291
681s ok 345 /regex/match/partial292
681s ok 346 /regex/match/partial293
681s ok 347 /regex/match/partial294
681s ok 348 /regex/match/partial295
681s ok 349 /regex/match/partial296
681s ok 350 /regex/match/partial297
681s ok 351 /regex/match/partial298
681s ok 352 /regex/match/partial299
681s ok 353 /regex/match/partial300
681s ok 354 /regex/match/partial301
681s ok 355 /regex/match/partial302
681s # Start of next0 tests
681s ok 356 /regex/match/next0/247
681s ok 357 /regex/match/next0/248
681s ok 358 /regex/match/next0/249
681s ok 359 /regex/match/next0/250
681s # End of next0 tests
681s # Start of next1 tests
681s ok 360 /regex/match/next1/251
681s ok 361 /regex/match/next1/252
681s ok 362 /regex/match/next1/253
681s ok 363 /regex/match/next1/254
681s ok 364 /regex/match/next1/255
681s # End of next1 tests
681s # Start of next2 tests
681s ok 365 /regex/match/next2/256
681s ok 366 /regex/match/next2/257
681s ok 367 /regex/match/next2/258
681s ok 368 /regex/match/next2/259
681s ok 369 /regex/match/next2/260
681s ok 370 /regex/match/next2/261
681s ok 371 /regex/match/next2/262
681s ok 372 /regex/match/next2/263
681s # End of next2 tests
681s # Start of next3 tests
681s ok 373 /regex/match/next3/264
681s ok 374 /regex/match/next3/265
681s ok 375 /regex/match/next3/266
681s ok 376 /regex/match/next3/267
681s ok 377 /regex/match/next3/268
681s ok 378 /regex/match/next3/269
681s # End of next3 tests
681s # Start of next4 tests
681s ok 379 /regex/match/next4/270
681s # End of next4 tests
681s # Start of count tests
681s ok 380 /regex/match/count/271
681s ok 381 /regex/match/count/272
681s ok 382 /regex/match/count/273
681s ok 383 /regex/match/count/274
681s ok 384 /regex/match/count/275
681s ok 385 /regex/match/count/276
681s ok 386 /regex/match/count/277
681s ok 387 /regex/match/count/278
681s ok 388 /regex/match/count/279
681s ok 389 /regex/match/count/280
681s # End of count tests
681s # Start of count-optimized tests
681s ok 390 /regex/match/count-optimized/271
681s ok 391 /regex/match/count-optimized/272
681s ok 392 /regex/match/count-optimized/273
681s ok 393 /regex/match/count-optimized/274
681s ok 394 /regex/match/count-optimized/275
681s ok 395 /regex/match/count-optimized/276
681s ok 396 /regex/match/count-optimized/277
681s ok 397 /regex/match/count-optimized/278
681s ok 398 /regex/match/count-optimized/279
681s ok 399 /regex/match/count-optimized/280
681s # End of count-optimized tests
681s # Start of partial-optimized tests
681s ok 400 /regex/match/partial-optimized/281
681s ok 401 /regex/match/partial-optimized/282
681s ok 402 /regex/match/partial-optimized/283
681s ok 403 /regex/match/partial-optimized/284
681s ok 404 /regex/match/partial-optimized/285
681s ok 405 /regex/match/partial-optimized/286
681s ok 406 /regex/match/partial-optimized/287
681s ok 407 /regex/match/partial-optimized/288
681s ok 408 /regex/match/partial-optimized/289
681s ok 409 /regex/match/partial-optimized/290
681s ok 410 /regex/match/partial-optimized/291
681s ok 411 /regex/match/partial-optimized/292
681s ok 412 /regex/match/partial-optimized/293
681s ok 413 /regex/match/partial-optimized/294
681s ok 414 /regex/match/partial-optimized/295
681s ok 415 /regex/match/partial-optimized/296
681s ok 416 /regex/match/partial-optimized/297
681s ok 417 /regex/match/partial-optimized/298
681s ok 418 /regex/match/partial-optimized/299
681s ok 419 /regex/match/partial-optimized/300
681s ok 420 /regex/match/partial-optimized/301
681s ok 421 /regex/match/partial-optimized/302
681s # End of partial-optimized tests
681s # Start of subpattern tests
681s ok 422 /regex/match/subpattern/303
681s ok 423 /regex/match/subpattern/304
681s ok 424 /regex/match/subpattern/305
681s ok 425 /regex/match/subpattern/306
681s ok 426 /regex/match/subpattern/307
681s ok 427 /regex/match/subpattern/308
681s ok 428 /regex/match/subpattern/309
681s ok 429 /regex/match/subpattern/310
681s ok 430 /regex/match/subpattern/311
681s ok 431 /regex/match/subpattern/312
681s ok 432 /regex/match/subpattern/313
681s ok 433 /regex/match/subpattern/314
681s ok 434 /regex/match/subpattern/315
681s # Start of named tests
681s # Start of dupnames tests
681s ok 435 /regex/match/subpattern/named/dupnames/325
681s ok 436 /regex/match/subpattern/named/dupnames/326
681s ok 437 /regex/match/subpattern/named/dupnames/327
681s ok 438 /regex/match/subpattern/named/dupnames/328
681s ok 439 /regex/match/subpattern/named/dupnames/329
681s # End of dupnames tests
681s # End of named tests
681s # End of subpattern tests
681s # Start of subpattern-optimized tests
681s ok 440 /regex/match/subpattern-optimized/303
681s ok 441 /regex/match/subpattern-optimized/304
681s ok 442 /regex/match/subpattern-optimized/305
681s ok 443 /regex/match/subpattern-optimized/306
681s ok 444 /regex/match/subpattern-optimized/307
681s ok 445 /regex/match/subpattern-optimized/308
681s ok 446 /regex/match/subpattern-optimized/309
681s ok 447 /regex/match/subpattern-optimized/310
681s ok 448 /regex/match/subpattern-optimized/311
681s ok 449 /regex/match/subpattern-optimized/312
681s ok 450 /regex/match/subpattern-optimized/313
681s ok 451 /regex/match/subpattern-optimized/314
681s ok 452 /regex/match/subpattern-optimized/315
681s # End of subpattern-optimized tests
681s # Start of named tests
681s # Start of subpattern tests
681s ok 453 /regex/match/named/subpattern/316
681s ok 454 /regex/match/named/subpattern/317
681s ok 455 /regex/match/named/subpattern/318
681s ok 456 /regex/match/named/subpattern/319
681s ok 457 /regex/match/named/subpattern/320
681s ok 458 /regex/match/named/subpattern/321
681s ok 459 /regex/match/named/subpattern/322
681s ok 460 /regex/match/named/subpattern/323
681s ok 461 /regex/match/named/subpattern/324
681s ok 462 /regex/match/named/subpattern/330
681s ok 463 /regex/match/named/subpattern/331
681s ok 464 /regex/match/named/subpattern/332
681s ok 465 /regex/match/named/subpattern/333
681s ok 466 /regex/match/named/subpattern/334
681s # End of subpattern tests
681s # End of named tests
681s # End of match tests
681s # Start of match-optimized tests
681s ok 467 /regex/match-optimized/165
681s ok 468 /regex/match-optimized/166
681s ok 469 /regex/match-optimized/167
681s ok 470 /regex/match-optimized/168
681s ok 471 /regex/match-optimized/169
681s ok 472 /regex/match-optimized/170
681s ok 473 /regex/match-optimized/171
681s ok 474 /regex/match-optimized/172
681s ok 475 /regex/match-optimized/173
681s ok 476 /regex/match-optimized/174
681s ok 477 /regex/match-optimized/175
681s ok 478 /regex/match-optimized/176
681s ok 479 /regex/match-optimized/177
681s ok 480 /regex/match-optimized/178
681s ok 481 /regex/match-optimized/179
681s ok 482 /regex/match-optimized/180
681s ok 483 /regex/match-optimized/181
681s ok 484 /regex/match-optimized/182
681s ok 485 /regex/match-optimized/183
681s ok 486 /regex/match-optimized/184
681s ok 487 /regex/match-optimized/185
681s ok 488 /regex/match-optimized/186
681s ok 489 /regex/match-optimized/187
681s ok 490 /regex/match-optimized/188
681s ok 491 /regex/match-optimized/189
681s ok 492 /regex/match-optimized/190
681s ok 493 /regex/match-optimized/191
681s ok 494 /regex/match-optimized/192
681s ok 495 /regex/match-optimized/193
681s ok 496 /regex/match-optimized/194
681s ok 497 /regex/match-optimized/195
681s ok 498 /regex/match-optimized/196
681s ok 499 /regex/match-optimized/197
681s ok 500 /regex/match-optimized/198
681s ok 501 /regex/match-optimized/199
681s ok 502 /regex/match-optimized/200
681s ok 503 /regex/match-optimized/201
681s ok 504 /regex/match-optimized/202
681s ok 505 /regex/match-optimized/203
681s ok 506 /regex/match-optimized/204
681s ok 507 /regex/match-optimized/205
681s ok 508 /regex/match-optimized/206
681s ok 509 /regex/match-optimized/207
681s ok 510 /regex/match-optimized/208
681s ok 511 /regex/match-optimized/209
681s ok 512 /regex/match-optimized/210
681s ok 513 /regex/match-optimized/211
681s ok 514 /regex/match-optimized/212
681s ok 515 /regex/match-optimized/213
681s ok 516 /regex/match-optimized/214
681s ok 517 /regex/match-optimized/215
681s ok 518 /regex/match-optimized/216
681s ok 519 /regex/match-optimized/217
681s ok 520 /regex/match-optimized/218
681s ok 521 /regex/match-optimized/219
681s ok 522 /regex/match-optimized/220
681s ok 523 /regex/match-optimized/221
681s ok 524 /regex/match-optimized/222
681s ok 525 /regex/match-optimized/223
681s ok 526 /regex/match-optimized/224
681s ok 527 /regex/match-optimized/225
681s ok 528 /regex/match-optimized/226
681s ok 529 /regex/match-optimized/227
681s ok 530 /regex/match-optimized/228
681s ok 531 /regex/match-optimized/229
681s ok 532 /regex/match-optimized/230
681s ok 533 /regex/match-optimized/231
681s ok 534 /regex/match-optimized/232
681s ok 535 /regex/match-optimized/233
681s ok 536 /regex/match-optimized/234
681s ok 537 /regex/match-optimized/235
681s ok 538 /regex/match-optimized/236
681s ok 539 /regex/match-optimized/237
681s ok 540 /regex/match-optimized/238
681s ok 541 /regex/match-optimized/239
681s ok 542 /regex/match-optimized/240
681s ok 543 /regex/match-optimized/241
681s ok 544 /regex/match-optimized/242
681s ok 545 /regex/match-optimized/243
681s ok 546 /regex/match-optimized/244
681s ok 547 /regex/match-optimized/245
681s ok 548 /regex/match-optimized/246
681s # End of match-optimized tests
681s # Start of fetch-all0 tests
681s ok 549 /regex/fetch-all0/335
681s ok 550 /regex/fetch-all0/336
681s # End of fetch-all0 tests
681s # Start of fetch-all1 tests
681s ok 551 /regex/fetch-all1/337
681s ok 552 /regex/fetch-all1/338
681s ok 553 /regex/fetch-all1/339
681s # End of fetch-all1 tests
681s # Start of fetch-all2 tests
681s ok 554 /regex/fetch-all2/340
681s ok 555 /regex/fetch-all2/341
681s ok 556 /regex/fetch-all2/342
681s # End of fetch-all2 tests
681s # Start of fetch-all3 tests
681s ok 557 /regex/fetch-all3/343
681s ok 558 /regex/fetch-all3/344
681s ok 559 /regex/fetch-all3/345
681s ok 560 /regex/fetch-all3/346
681s ok 561 /regex/fetch-all3/347
681s # End of fetch-all3 tests
681s # Start of split tests
681s # Start of simple0 tests
681s ok 562 /regex/split/simple0/348
681s ok 563 /regex/split/simple0/349
681s ok 564 /regex/split/simple0/364
681s ok 565 /regex/split/simple0/365
681s # End of simple0 tests
681s # Start of simple1 tests
681s ok 566 /regex/split/simple1/350
681s ok 567 /regex/split/simple1/351
681s # End of simple1 tests
681s # Start of simple2 tests
681s ok 568 /regex/split/simple2/352
681s ok 569 /regex/split/simple2/358
681s ok 570 /regex/split/simple2/360
681s # End of simple2 tests
681s # Start of simple3 tests
681s ok 571 /regex/split/simple3/353
681s ok 572 /regex/split/simple3/354
681s ok 573 /regex/split/simple3/355
681s ok 574 /regex/split/simple3/356
681s ok 575 /regex/split/simple3/357
681s ok 576 /regex/split/simple3/359
681s ok 577 /regex/split/simple3/361
681s ok 578 /regex/split/simple3/362
681s ok 579 /regex/split/simple3/363
681s # End of simple3 tests
681s # End of split tests
681s # Start of split0 tests
681s ok 580 /regex/split0/366
681s ok 581 /regex/split0/368
681s # End of split0 tests
681s # Start of full-split0 tests
681s ok 582 /regex/full-split0/367
681s ok 583 /regex/full-split0/369
681s ok 584 /regex/full-split0/370
681s ok 585 /regex/full-split0/371
681s ok 586 /regex/full-split0/372
681s # End of full-split0 tests
681s # Start of split1 tests
681s ok 587 /regex/split1/373
681s ok 588 /regex/split1/376
681s # End of split1 tests
681s # Start of full-split1 tests
681s ok 589 /regex/full-split1/374
681s ok 590 /regex/full-split1/375
681s ok 591 /regex/full-split1/377
681s ok 592 /regex/full-split1/378
681s ok 593 /regex/full-split1/404
681s # End of full-split1 tests
681s # Start of split2 tests
681s ok 594 /regex/split2/379
681s ok 595 /regex/split2/383
681s ok 596 /regex/split2/395
681s # End of split2 tests
681s # Start of full-split2 tests
681s ok 597 /regex/full-split2/380
681s ok 598 /regex/full-split2/381
681s ok 599 /regex/full-split2/382
681s ok 600 /regex/full-split2/384
681s ok 601 /regex/full-split2/396
681s ok 602 /regex/full-split2/399
681s ok 603 /regex/full-split2/405
681s # End of full-split2 tests
681s # Start of split3 tests
681s ok 604 /regex/split3/385
681s ok 605 /regex/split3/387
681s ok 606 /regex/split3/389
681s ok 607 /regex/split3/391
681s ok 608 /regex/split3/393
681s ok 609 /regex/split3/397
681s ok 610 /regex/split3/400
681s ok 611 /regex/split3/402
681s # End of split3 tests
681s # Start of full-split3 tests
681s ok 612 /regex/full-split3/386
681s ok 613 /regex/full-split3/388
681s ok 614 /regex/full-split3/390
681s ok 615 /regex/full-split3/392
681s ok 616 /regex/full-split3/394
681s ok 617 /regex/full-split3/398
681s ok 618 /regex/full-split3/401
681s ok 619 /regex/full-split3/403
681s ok 620 /regex/full-split3/406
681s ok 621 /regex/full-split3/407
681s # End of full-split3 tests
681s # Start of check-repacement tests
681s ok 622 /regex/check-repacement/408
681s ok 623 /regex/check-repacement/409
681s ok 624 /regex/check-repacement/410
681s ok 625 /regex/check-repacement/411
681s ok 626 /regex/check-repacement/412
681s ok 627 /regex/check-repacement/413
681s ok 628 /regex/check-repacement/414
681s ok 629 /regex/check-repacement/415
681s # End of check-repacement tests
681s # Start of expand tests
681s ok 630 /regex/expand/416
681s ok 631 /regex/expand/417
681s ok 632 /regex/expand/418
681s ok 633 /regex/expand/419
681s ok 634 /regex/expand/420
681s ok 635 /regex/expand/421
681s ok 636 /regex/expand/422
681s ok 637 /regex/expand/423
681s ok 638 /regex/expand/424
681s ok 639 /regex/expand/425
681s ok 640 /regex/expand/426
681s ok 641 /regex/expand/427
681s ok 642 /regex/expand/428
681s ok 643 /regex/expand/429
681s ok 644 /regex/expand/430
681s ok 645 /regex/expand/431
681s ok 646 /regex/expand/432
681s ok 647 /regex/expand/433
681s ok 648 /regex/expand/434
681s ok 649 /regex/expand/435
681s ok 650 /regex/expand/436
681s ok 651 /regex/expand/437
681s ok 652 /regex/expand/438
681s ok 653 /regex/expand/439
681s ok 654 /regex/expand/440
681s ok 655 /regex/expand/441
681s ok 656 /regex/expand/442
681s ok 657 /regex/expand/443
681s ok 658 /regex/expand/444
681s ok 659 /regex/expand/445
681s ok 660 /regex/expand/446
681s ok 661 /regex/expand/447
681s ok 662 /regex/expand/448
681s ok 663 /regex/expand/449
681s ok 664 /regex/expand/450
681s ok 665 /regex/expand/451
681s ok 666 /regex/expand/452
681s ok 667 /regex/expand/453
681s ok 668 /regex/expand/454
681s ok 669 /regex/expand/455
681s ok 670 /regex/expand/456
681s ok 671 /regex/expand/457
681s ok 672 /regex/expand/458
681s ok 673 /regex/expand/459
681s ok 674 /regex/expand/460
681s ok 675 /regex/expand/461
681s ok 676 /regex/expand/462
681s ok 677 /regex/expand/463
681s ok 678 /regex/expand/464
681s ok 679 /regex/expand/465
681s ok 680 /regex/expand/466
681s ok 681 /regex/expand/467
681s ok 682 /regex/expand/468
681s ok 683 /regex/expand/469
681s ok 684 /regex/expand/470
681s ok 685 /regex/expand/471
681s ok 686 /regex/expand/472
681s ok 687 /regex/expand/473
681s ok 688 /regex/expand/474
681s ok 689 /regex/expand/475
681s ok 690 /regex/expand/476
681s ok 691 /regex/expand/477
681s ok 692 /regex/expand/478
681s ok 693 /regex/expand/479
681s ok 694 /regex/expand/480
681s ok 695 /regex/expand/481
681s # End of expand tests
681s # Start of replace tests
681s ok 696 /regex/replace/482
681s ok 697 /regex/replace/483
681s ok 698 /regex/replace/484
681s ok 699 /regex/replace/485
681s ok 700 /regex/replace/486
681s ok 701 /regex/replace/487
681s ok 702 /regex/replace/488
681s ok 703 /regex/replace/489
681s ok 704 /regex/replace/490
681s ok 705 /regex/replace/491
681s ok 706 /regex/replace/492
681s ok 707 /regex/replace/493
681s ok 708 /regex/replace/494
681s ok 709 /regex/replace/495
681s ok 710 /regex/replace/496
681s ok 711 /regex/replace/497
681s ok 712 /regex/replace/498
681s ok 713 /regex/replace/499
681s ok 714 /regex/replace/500
681s ok 715 /regex/replace/501
681s ok 716 /regex/replace/502
681s ok 717 /regex/replace/503
681s ok 718 /regex/replace/504
681s ok 719 /regex/replace/505
681s ok 720 /regex/replace/506
681s ok 721 /regex/replace/507
681s ok 722 /regex/replace/508
681s ok 723 /regex/replace/509
681s # End of replace tests
681s # Start of replace-optimized tests
681s ok 724 /regex/replace-optimized/482
681s ok 725 /regex/replace-optimized/483
681s ok 726 /regex/replace-optimized/484
681s ok 727 /regex/replace-optimized/485
681s ok 728 /regex/replace-optimized/486
681s ok 729 /regex/replace-optimized/487
681s ok 730 /regex/replace-optimized/488
681s ok 731 /regex/replace-optimized/489
681s ok 732 /regex/replace-optimized/490
681s ok 733 /regex/replace-optimized/491
681s ok 734 /regex/replace-optimized/492
681s ok 735 /regex/replace-optimized/493
681s ok 736 /regex/replace-optimized/494
681s ok 737 /regex/replace-optimized/495
681s ok 738 /regex/replace-optimized/496
681s ok 739 /regex/replace-optimized/497
681s ok 740 /regex/replace-optimized/498
681s ok 741 /regex/replace-optimized/499
681s ok 742 /regex/replace-optimized/500
681s ok 743 /regex/replace-optimized/501
681s ok 744 /regex/replace-optimized/502
681s ok 745 /regex/replace-optimized/503
681s ok 746 /regex/replace-optimized/504
681s ok 747 /regex/replace-optimized/505
681s ok 748 /regex/replace-optimized/506
681s ok 749 /regex/replace-optimized/507
681s ok 750 /regex/replace-optimized/508
681s ok 751 /regex/replace-optimized/509
681s # End of replace-optimized tests
681s # Start of replace-literally tests
681s ok 752 /regex/replace-literally/510
681s ok 753 /regex/replace-literally/511
681s ok 754 /regex/replace-literally/512
681s ok 755 /regex/replace-literally/513
681s ok 756 /regex/replace-literally/514
681s ok 757 /regex/replace-literally/515
681s ok 758 /regex/replace-literally/516
681s ok 759 /regex/replace-literally/517
681s ok 760 /regex/replace-literally/518
681s ok 761 /regex/replace-literally/519
681s ok 762 /regex/replace-literally/520
681s ok 763 /regex/replace-literally/521
681s ok 764 /regex/replace-literally/522
681s ok 765 /regex/replace-literally/523
681s ok 766 /regex/replace-literally/524
681s ok 767 /regex/replace-literally/525
681s ok 768 /regex/replace-literally/526
681s ok 769 /regex/replace-literally/527
681s ok 770 /regex/replace-literally/528
681s ok 771 /regex/replace-literally/529
681s # End of replace-literally tests
681s # Start of string-number tests
681s ok 772 /regex/string-number/530
681s ok 773 /regex/string-number/531
681s ok 774 /regex/string-number/532
681s ok 775 /regex/string-number/533
681s ok 776 /regex/string-number/534
681s ok 777 /regex/string-number/535
681s ok 778 /regex/string-number/536
681s ok 779 /regex/string-number/537
681s ok 780 /regex/string-number/538
681s ok 781 /regex/string-number/539
681s ok 782 /regex/string-number/540
681s ok 783 /regex/string-number/541
681s ok 784 /regex/string-number/542
681s ok 785 /regex/string-number/543
681s ok 786 /regex/string-number/544
681s # End of string-number tests
681s # Start of escape_nul tests
681s ok 787 /regex/escape_nul/545
681s ok 788 /regex/escape_nul/546
681s ok 789 /regex/escape_nul/547
681s ok 790 /regex/escape_nul/548
681s ok 791 /regex/escape_nul/549
681s ok 792 /regex/escape_nul/550
681s ok 793 /regex/escape_nul/551
681s ok 794 /regex/escape_nul/552
681s ok 795 /regex/escape_nul/553
681s ok 796 /regex/escape_nul/554
681s ok 797 /regex/escape_nul/555
681s ok 798 /regex/escape_nul/556
681s ok 799 /regex/escape_nul/557
681s ok 800 /regex/escape_nul/558
681s ok 801 /regex/escape_nul/559
681s # End of escape_nul tests
681s # Start of escape tests
681s ok 802 /regex/escape/560
681s ok 803 /regex/escape/561
681s ok 804 /regex/escape/562
681s ok 805 /regex/escape/563
681s ok 806 /regex/escape/564
681s ok 807 /regex/escape/565
681s ok 808 /regex/escape/566
681s ok 809 /regex/escape/567
681s ok 810 /regex/escape/568
681s ok 811 /regex/escape/569
681s ok 812 /regex/escape/570
681s ok 813 /regex/escape/571
681s ok 814 /regex/escape/572
681s ok 815 /regex/escape/573
681s ok 816 /regex/escape/574
681s ok 817 /regex/escape/575
681s ok 818 /regex/escape/576
681s ok 819 /regex/escape/577
681s # End of escape tests
681s # Start of match-all0 tests
681s ok 820 /regex/match-all0/578
681s ok 821 /regex/match-all0/580
681s # End of match-all0 tests
681s # Start of match-all-full0 tests
681s ok 822 /regex/match-all-full0/579
681s ok 823 /regex/match-all-full0/581
681s ok 824 /regex/match-all-full0/582
681s ok 825 /regex/match-all-full0/583
681s # End of match-all-full0 tests
681s # Start of match-all1 tests
681s ok 826 /regex/match-all1/584
681s ok 827 /regex/match-all1/586
681s ok 828 /regex/match-all1/591
681s # End of match-all1 tests
681s # Start of match-all-full1 tests
681s ok 829 /regex/match-all-full1/585
681s ok 830 /regex/match-all-full1/587
681s ok 831 /regex/match-all-full1/588
681s ok 832 /regex/match-all-full1/589
681s ok 833 /regex/match-all-full1/590
681s ok 834 /regex/match-all-full1/592
681s # End of match-all-full1 tests
681s # Start of match-all2 tests
681s ok 835 /regex/match-all2/593
681s ok 836 /regex/match-all2/595
681s ok 837 /regex/match-all2/597
681s # End of match-all2 tests
681s # Start of match-all-full2 tests
681s ok 838 /regex/match-all-full2/594
681s ok 839 /regex/match-all-full2/596
681s ok 840 /regex/match-all-full2/598
681s # End of match-all-full2 tests
681s # Start of match-all3 tests
681s ok 841 /regex/match-all3/599
681s ok 842 /regex/match-all3/601
681s # End of match-all3 tests
681s # Start of match-all-full3 tests
681s ok 843 /regex/match-all-full3/600
681s ok 844 /regex/match-all-full3/602
681s # End of match-all-full3 tests
681s # Start of match-notempty tests
681s ok 845 /regex/match-notempty/603
681s # End of match-notempty tests
681s # Start of match-notempty-optimized tests
681s ok 846 /regex/match-notempty-optimized/603
681s # End of match-notempty-optimized tests
681s # Start of match-notempty-atstart tests
681s ok 847 /regex/match-notempty-atstart/604
681s # End of match-notempty-atstart tests
681s # Start of match-notempty-atstart-optimized tests
681s ok 848 /regex/match-notempty-atstart-optimized/604
681s # End of match-notempty-atstart-optimized tests
681s # End of regex tests
681s ok - glib/regex.test
681s # Running test: glib/sort.test
681s TAP version 14
681s # random seed: R02S86af32cfa96ec7cd9f5fc826439ad3e5
681s 1..5
681s # Start of sort tests
681s ok 1 /sort/basic
681s ok 2 /sort/zero-elements
681s ok 3 /sort/stable
681s ok 4 /sort/big
681s ok 5 /sort/deprecated
681s # End of sort tests
681s ok - glib/sort.test
681s # Running test: glib/testing-nonfatal.test
681s TAP version 14
681s # random seed: R02S5922b6afd33ba5b18d3ae94692473cbe
681s **
681s 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?")
681s # 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?")
681s ok - glib/testing-nonfatal.test
681s # Running test: glib/overflow-fallback.test
681s TAP version 14
681s # random seed: R02S1c889674c6b8448fb5e9790706a94105
681s 1..6
681s # Start of glib tests
681s # Start of checked-math tests
681s ok 1 /glib/checked-math/guint-add
681s ok 2 /glib/checked-math/guint-mul
681s ok 3 /glib/checked-math/guint64-add
681s ok 4 /glib/checked-math/guint64-mul
681s ok 5 /glib/checked-math/gsize-add
681s ok 6 /glib/checked-math/gsize-mul
681s # End of checked-math tests
681s # End of glib tests
681s ok - glib/overflow-fallback.test
681s # Running test: glib/strvbuilder.test
681s TAP version 14
681s # random seed: R02Se108196b6290aa410c2737cc40fe6265
681s 1..7
681s # Start of strvbuilder tests
681s ok 1 /strvbuilder/empty
681s ok 2 /strvbuilder/add
681s ok 3 /strvbuilder/addv
681s ok 4 /strvbuilder/add_many
681s ok 5 /strvbuilder/take
681s ok 6 /strvbuilder/ref
681s ok 7 /strvbuilder/unref_to_strv
681s # End of strvbuilder tests
681s ok - glib/strvbuilder.test
681s # Running test: glib/gdbus-sasl.test
681s TAP version 14
681s # random seed: R02S07a7745eb07a157fe9bdcdf7aaf52c7f
681s 1..1
681s # Start of gdbus tests
681s # Start of sasl tests
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_BX9452/gdbus/sasl/server/.dirs/runtime
681s # New handshake: EXTERNAL with incorrect initial response
681s # C:“AUTH EXTERNAL 30â€
681s # Expect: /^REJECTED.*$/
681s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
681s # New handshake: EXTERNAL without initial response, failing to authenticate
681s # C:“AUTH EXTERNALâ€
681s # Expect: /^DATA$/
681s # S:“DATAâ€
681s # C:“DATA 30â€
681s # Expect: /^REJECTED.*$/
681s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
681s # New handshake: EXTERNAL with initial response
681s # C:“AUTH EXTERNAL 31303030â€
681s # Expect: /^OK [0-9a-f]+$/
681s # S:“OK 219880132b4b3d9723b9421c681a59e2â€
681s # New handshake: EXTERNAL without initial response
681s # C:“AUTH EXTERNALâ€
681s # Expect: /^DATA$/
681s # S:“DATAâ€
681s # C:“DATA 31303030â€
681s # Expect: /^OK [0-9a-f]+$/
681s # S:“OK 219880132b4b3d9723b9421c681a59e2â€
681s # New handshake: EXTERNAL with empty authorization identity
681s # C:“AUTH EXTERNALâ€
681s # Expect: /^DATA$/
681s # S:“DATAâ€
681s # C:“DATAâ€
681s # Expect: /^OK [0-9a-f]+$/
681s # S:“OK 219880132b4b3d9723b9421c681a59e2â€
681s # New handshake: EXTERNAL with empty authorization identity and whitespace
681s # C:“AUTH EXTERNALâ€
681s # Expect: /^DATA$/
681s # S:“DATAâ€
681s # C:“DATA â€
681s # Expect: /^OK [0-9a-f]+$/
681s # S:“OK 219880132b4b3d9723b9421c681a59e2â€
681s ok 1 /gdbus/sasl/server
681s # End of sasl tests
681s # End of gdbus tests
681s ok - glib/gdbus-sasl.test
681s # Running test: glib/markup-parse.test
681s TAP version 14
681s # random seed: R02S5a92f4bfa543667bc104231fc6e9a609
681s 1..71
681s # Start of markup tests
681s # Start of parse tests
681s ok 1 /markup/parse/fail-13.gmarkup
681s ok 2 /markup/parse/valid-10.gmarkup
681s ok 3 /markup/parse/valid-2.gmarkup
681s ok 4 /markup/parse/valid-17.gmarkup
681s ok 5 /markup/parse/valid-11.gmarkup
681s ok 6 /markup/parse/valid-8.gmarkup
681s ok 7 /markup/parse/fail-28.gmarkup
681s ok 8 /markup/parse/fail-30.gmarkup
681s ok 9 /markup/parse/fail-7.gmarkup
681s ok 10 /markup/parse/fail-48.gmarkup
681s ok 11 /markup/parse/fail-42.gmarkup
681s ok 12 /markup/parse/fail-53.gmarkup
681s ok 13 /markup/parse/fail-51.gmarkup
681s ok 14 /markup/parse/fail-22.gmarkup
681s ok 15 /markup/parse/fail-17.gmarkup
681s ok 16 /markup/parse/fail-36.gmarkup
681s ok 17 /markup/parse/valid-12.gmarkup
681s ok 18 /markup/parse/fail-40.gmarkup
681s ok 19 /markup/parse/fail-16.gmarkup
681s ok 20 /markup/parse/fail-14.gmarkup
681s ok 21 /markup/parse/valid-14.gmarkup
681s ok 22 /markup/parse/fail-54.gmarkup
681s ok 23 /markup/parse/fail-46.gmarkup
681s ok 24 /markup/parse/fail-41.gmarkup
681s ok 25 /markup/parse/fail-21.gmarkup
681s ok 26 /markup/parse/fail-39.gmarkup
681s ok 27 /markup/parse/fail-19.gmarkup
681s ok 28 /markup/parse/fail-33.gmarkup
681s ok 29 /markup/parse/fail-45.gmarkup
681s ok 30 /markup/parse/fail-24.gmarkup
681s ok 31 /markup/parse/fail-35.gmarkup
681s ok 32 /markup/parse/fail-18.gmarkup
681s ok 33 /markup/parse/fail-15.gmarkup
681s ok 34 /markup/parse/fail-6.gmarkup
681s ok 35 /markup/parse/valid-3.gmarkup
681s ok 36 /markup/parse/valid-1.gmarkup
681s ok 37 /markup/parse/fail-11.gmarkup
681s ok 38 /markup/parse/fail-25.gmarkup
681s ok 39 /markup/parse/valid-15.gmarkup
681s ok 40 /markup/parse/valid-7.gmarkup
681s ok 41 /markup/parse/fail-50.gmarkup
681s ok 42 /markup/parse/fail-3.gmarkup
681s ok 43 /markup/parse/fail-5.gmarkup
681s ok 44 /markup/parse/valid-6.gmarkup
681s ok 45 /markup/parse/fail-49.gmarkup
681s ok 46 /markup/parse/fail-10.gmarkup
681s ok 47 /markup/parse/fail-1.gmarkup
681s ok 48 /markup/parse/valid-4.gmarkup
681s ok 49 /markup/parse/fail-29.gmarkup
681s ok 50 /markup/parse/fail-38.gmarkup
681s ok 51 /markup/parse/fail-26.gmarkup
681s ok 52 /markup/parse/fail-37.gmarkup
681s ok 53 /markup/parse/fail-44.gmarkup
681s ok 54 /markup/parse/valid-16.gmarkup
681s ok 55 /markup/parse/fail-2.gmarkup
681s ok 56 /markup/parse/fail-31.gmarkup
681s ok 57 /markup/parse/fail-12.gmarkup
681s ok 58 /markup/parse/fail-4.gmarkup
681s ok 59 /markup/parse/fail-9.gmarkup
681s ok 60 /markup/parse/fail-27.gmarkup
681s ok 61 /markup/parse/fail-52.gmarkup
681s ok 62 /markup/parse/valid-9.gmarkup
681s ok 63 /markup/parse/fail-47.gmarkup
681s ok 64 /markup/parse/valid-5.gmarkup
681s ok 65 /markup/parse/fail-34.gmarkup
681s ok 66 /markup/parse/valid-13.gmarkup
681s ok 67 /markup/parse/fail-43.gmarkup
681s ok 68 /markup/parse/fail-23.gmarkup
681s ok 69 /markup/parse/fail-8.gmarkup
681s ok 70 /markup/parse/fail-20.gmarkup
681s ok 71 /markup/parse/fail-32.gmarkup
681s # End of parse tests
681s # End of markup tests
681s ok - glib/markup-parse.test
681s # Running test: glib/cxx-2b.test
681s TAP version 14
681s # random seed: R02S3f1fbd8e1fe142af5a31646eba95ae16
681s 1..2
681s # Start of gtask tests
681s # 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.
681s ok 1 /gtask/name
681s # Start of name tests
681s # 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.
681s ok 2 /gtask/name/macro-wrapper
681s # End of name tests
681s # End of gtask tests
681s ok - glib/cxx-2b.test
681s # Running test: glib/option-argv0.test
681s TAP version 14
681s # random seed: R02S01a81186c7bbd1b4a063f9d089689473
681s 1..1
681s # Start of option tests
681s ok 1 /option/argv0
681s # End of option tests
681s ok - glib/option-argv0.test
681s # Running test: glib/error.test
681s TAP version 14
681s # random seed: R02Sfcbdf158ea82f6828a2e7d8ecd660ae0
681s 1..3
681s # Start of error tests
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OPV452/error/from-errno/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OPV452/error/from-errno/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OPV452/error/from-errno/.dirs/system-config1:/tmp/test_error_OPV452/error/from-errno/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OPV452/error/from-errno/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OPV452/error/from-errno/.dirs/system-data1:/tmp/test_error_OPV452/error/from-errno/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OPV452/error/from-errno/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OPV452/error/from-errno/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OPV452/error/from-errno/.dirs/runtime
681s ok 1 /error/from-errno
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OPV452/error/from-file-error/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OPV452/error/from-file-error/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OPV452/error/from-file-error/.dirs/system-config1:/tmp/test_error_OPV452/error/from-file-error/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OPV452/error/from-file-error/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OPV452/error/from-file-error/.dirs/system-data1:/tmp/test_error_OPV452/error/from-file-error/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OPV452/error/from-file-error/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OPV452/error/from-file-error/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OPV452/error/from-file-error/.dirs/runtime
681s ok 2 /error/from-file-error
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OPV452/error/from-win32-error/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OPV452/error/from-win32-error/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OPV452/error/from-win32-error/.dirs/system-config1:/tmp/test_error_OPV452/error/from-win32-error/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OPV452/error/from-win32-error/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OPV452/error/from-win32-error/.dirs/system-data1:/tmp/test_error_OPV452/error/from-win32-error/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OPV452/error/from-win32-error/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OPV452/error/from-win32-error/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OPV452/error/from-win32-error/.dirs/runtime
681s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows
681s # End of error tests
681s ok - glib/error.test
681s # Running test: glib/gdbus-subscribe.test
681s TAP version 14
681s # random seed: R02Sd7c335f0cf7e430490daa38531854b7c
681s 1..24
681s # Start of gdbus tests
681s # Start of subscribe tests
681s # Start of conn tests
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/simple/.dirs/runtime
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it
681s # Step 0: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 1: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 2: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 2
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 1 /gdbus/subscribe/conn/simple
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
681s # Step 0: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: service 2
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 3: emitting signal
681s # Sender: service
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 4: emitting signal
681s # Sender: service 2
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 1
681s # Signal received from service 2 :1.2
681s # Signal received from service 2 :1.2 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 2
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 3
681s # Signal received from service 2 :1.2
681s # Signal received from service 2 :1.2 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/match_twice/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription
681s # Step 0: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 1: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: (any)
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 2: adding subscription
681s # Sender: (any)
681s # Path: (any)
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 3: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 4: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 3 /gdbus/subscribe/conn/match_twice
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
681s # Step 0: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 3: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 3
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 4 /gdbus/subscribe/conn/limit_by_unique_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
681s # Step 0: adding subscription
681s # Sender: :0.this.had.better.not.exist
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /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
681s # Step 0: claiming bus name
681s # Name: org.gtk.Test.AlreadyOwned
681s # Owner: service
681s # Step 1: adding subscription
681s # Sender: org.gtk.Test.AlreadyOwned
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 2: adding subscription
681s # Sender: org.gtk.Test.OwnedLater
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 3: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 4: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 5: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 6: claiming bus name
681s # Name: org.gtk.Test.OwnedLater
681s # Owner: service
681s # Step 7: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 5
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
681s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
681s # Step 0: adding subscription
681s # Sender: org.freedesktop.DBus
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # String argument 0: would I lie to you?
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # Waiting for signal to reach message bus
681s # Step 3: claiming bus name
681s # Name: org.gtk.Test.OwnedLater
681s # Owner: service
681s # Signal received from message bus org.freedesktop.DBus
681s # Signal received from (unused) org.freedesktop.DBus via connection
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 7 /gdbus/subscribe/conn/limit_to_message_bus
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
681s # Step 0: claiming bus name
681s # Name: org.gtk.Test.AlreadyOwned
681s # Owner: service
681s # Step 1: adding subscription
681s # Sender: org.gtk.Test.AlreadyOwned
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Immediately unsubscribing
681s # Waiting for AddMatch to be processed
681s # Step 2: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately
681s # End of conn tests
681s # Start of proxy tests
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/simple/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it
681s # Step 0: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 1: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 2: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 9 /gdbus/subscribe/proxy/simple
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
681s # Step 0: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: service 2
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 3: emitting signal
681s # Sender: service
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 4: emitting signal
681s # Sender: service 2
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/match_twice/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription
681s # Step 0: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: (any)
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 2: adding subscription
681s # Sender: (any)
681s # Path: (any)
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 3: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 4: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 11 /gdbus/subscribe/proxy/match_twice
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
681s # Step 0: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 3: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 3
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
681s # Step 0: adding subscription
681s # Sender: :0.this.had.better.not.exist
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /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
681s # Step 0: claiming bus name
681s # Name: org.gtk.Test.AlreadyOwned
681s # Owner: service
681s # Step 1: adding subscription
681s # Sender: org.gtk.Test.AlreadyOwned
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 2: adding subscription
681s # Sender: org.gtk.Test.OwnedLater
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 3: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 4: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 5: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 6: claiming bus name
681s # Name: org.gtk.Test.OwnedLater
681s # Owner: service
681s # Step 7: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 5
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
681s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
681s # Step 0: adding subscription
681s # Sender: org.freedesktop.DBus
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # String argument 0: would I lie to you?
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # Waiting for signal to reach message bus
681s # Step 3: claiming bus name
681s # Name: org.gtk.Test.OwnedLater
681s # Owner: service
681s # Signal received from message bus org.freedesktop.DBus
681s # Signal received from (unused) org.freedesktop.DBus via proxy
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
681s # Step 0: claiming bus name
681s # Name: org.gtk.Test.AlreadyOwned
681s # Owner: service
681s # Step 1: adding subscription
681s # Sender: org.gtk.Test.AlreadyOwned
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 2: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 2
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately
681s # End of proxy tests
681s # Start of parallel tests
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/simple/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it
681s # Step 0: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 1: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 2: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 2
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 17 /gdbus/subscribe/parallel/simple
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
681s # Step 0: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: service 2
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 3: emitting signal
681s # Sender: service
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 4: emitting signal
681s # Sender: service 2
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 1
681s # Signal received from service 2 :1.2
681s # Signal received from service 2 :1.2 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 2
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 3
681s # Signal received from service 2 :1.2
681s # Signal received from service 2 :1.2 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/match_twice/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription
681s # Step 0: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: adding subscription
681s # Sender: (any)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: (any)
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 2: adding subscription
681s # Sender: (any)
681s # Path: (any)
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Cannot subscribe via proxy: no bus name
681s # Waiting for AddMatch to be processed
681s # Step 3: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 4: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 4
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
681s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 19 /gdbus/subscribe/parallel/match_twice
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
681s # Step 0: adding subscription
681s # Sender: service :1.1
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 3: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 3
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 3
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
681s # Step 0: adding subscription
681s # Sender: :0.this.had.better.not.exist
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /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
681s # Step 0: claiming bus name
681s # Name: org.gtk.Test.AlreadyOwned
681s # Owner: service
681s # Step 1: adding subscription
681s # Sender: org.gtk.Test.AlreadyOwned
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 2: adding subscription
681s # Sender: org.gtk.Test.OwnedLater
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 3: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 4: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 5: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Step 6: claiming bus name
681s # Name: org.gtk.Test.OwnedLater
681s # Owner: service
681s # Step 7: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 5
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 5
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via connection
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 7
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
681s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
681s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
681s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
681s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
681s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
681s # Step 0: adding subscription
681s # Sender: org.freedesktop.DBus
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 1: emitting signal
681s # Sender: attacker
681s # Destination: (broadcast)
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # String argument 0: would I lie to you?
681s # Waiting for signal to reach message bus
681s # Step 2: emitting signal
681s # Sender: attacker
681s # Destination: subscriber :1.0
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # Waiting for signal to reach message bus
681s # Step 3: claiming bus name
681s # Name: org.gtk.Test.OwnedLater
681s # Owner: service
681s # Signal received from message bus org.freedesktop.DBus
681s # Signal received from (unused) org.freedesktop.DBus via connection
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # Signal received from message bus org.freedesktop.DBus
681s # Signal received from (unused) org.freedesktop.DBus via proxy
681s # Path: /org/freedesktop/DBus
681s # Interface: org.freedesktop.DBus
681s # Member: NameOwnerChanged
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
681s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
681s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_LTR452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # subscriber is :1.0
681s # service is :1.1
681s # service 2 is :1.2
681s # attacker is :1.3
681s # Waiting for AddMatch to be processed
681s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
681s # Step 0: claiming bus name
681s # Name: org.gtk.Test.AlreadyOwned
681s # Owner: service
681s # Step 1: adding subscription
681s # Sender: org.gtk.Test.AlreadyOwned
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: (any)
681s # String argument 0: (any)
681s # Flags: 0
681s # Subscribing via connection
681s # Immediately unsubscribing
681s # Subscribing via proxy
681s # Waiting for AddMatch to be processed
681s # Step 2: emitting signal
681s # Sender: service
681s # Destination: (broadcast)
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Waiting for signal to reach message bus
681s # Signal received from service :1.1
681s # Signal received from service :1.1 via proxy
681s # Path: /org/gtk/GDBus/ExampleInterface
681s # Interface: org.gtk.GDBus.ExampleInterface
681s # Member: Foo
681s # Argument 0: (not a string)
681s # Sent in step: 2
681s # Received Finished signal from subscriber :1.0
681s # Received Finished signal from service :1.1
681s # Received Finished signal from service 2 :1.2
681s # Received Finished signal from attacker :1.3
681s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
681s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
681s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
681s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately
681s # End of parallel tests
681s # End of subscribe tests
681s # End of gdbus tests
681s ok - glib/gdbus-subscribe.test
681s # Running test: glib/testfilemonitor.test
681s TAP version 14
681s # random seed: R02S1455e530e70fb3f0c74ce2353a6e2cb3
681s 1..8
681s # Start of monitor tests
681s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
681s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
681s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
681s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s # Start of file tests
681s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
681s # End of file tests
681s # End of monitor tests
681s ok - glib/testfilemonitor.test
681s # Running test: glib/simple-async-result.test
681s TAP version 14
681s # random seed: R02S17211a191bba4a2d7ac21a01a3c943de
681s ok - glib/simple-async-result.test
681s # Running test: glib/gdbus-names.test
681s 1..2
681s # Start of gio tests
681s # Start of simple-async-result tests
681s ok 1 /gio/simple-async-result/test
681s # GLib-GIO-DEBUG: GTask 0x2aa133ea030 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
681s ok 2 /gio/simple-async-result/valid
681s # End of simple-async-result tests
681s # End of gio tests
681s TAP version 14
681s # random seed: R02S90d76f51ba566bfb0c8ba6900ceb3236
681s 1..10
681s # Start of gdbus tests
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/validate-names/.dirs/runtime
681s ok 1 /gdbus/validate-names
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-own-name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 2 /gdbus/bus-own-name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s ok 3 /gdbus/bus-watch-name
681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/home
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/cache
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/system-config2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/config
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/system-data2
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/data
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/state
681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start/.dirs/runtime
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
681s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s ok 4 /gdbus/bus-watch-name-auto-start
682s # slow test /gdbus/bus-watch-name-auto-start executed in 0.96 secs
682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
682s dbus-daemon[4162]: [session uid=1000 pid=4162 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=4153 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined")
682s # Acquired a message bus connection
682s dbus-daemon[4162]: [session uid=1000 pid=4162 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService'
682s # Acquired the name org.gtk.GDBus.FakeService
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s ok 5 /gdbus/bus-watch-name-auto-start-service-exist
682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/home
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/cache
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/system-config2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/config
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/system-data2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/data
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/state
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures/.dirs/runtime
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s ok 6 /gdbus/bus-watch-name-closures
682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/home
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/cache
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/config
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/data
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/state
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s ok 7 /gdbus/bus-watch-name-closures-auto-start
682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/home
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/cache
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/system-config2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/config
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/system-data2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/data
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/state
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-watch-different-context/.dirs/runtime
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s ok 8 /gdbus/bus-watch-different-context
682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/home
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/cache
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/system-config2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/config
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/system-data2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/data
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/state
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/bus-unwatch-early/.dirs/runtime
682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
682s ok 9 /gdbus/bus-unwatch-early
682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/home
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/cache
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/system-config2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/config
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/system-data2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/data
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/state
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4DGC62/gdbus/escape-object-path/.dirs/runtime
682s ok 10 /gdbus/escape-object-path
682s # End of gdbus tests
682s ok - glib/gdbus-names.test
682s # Running test: glib/gdbus-introspection.test
682s TAP version 14
682s # random seed: R02Sf423cdbf7729eb15b5e8ff0ffc99a607
682s 1..4
682s # Start of gdbus tests
682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/home
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/cache
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/system-config2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/config
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/system-data2
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/data
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/state
682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-parser/.dirs/runtime
683s ok 1 /gdbus/introspection-parser
683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/home
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/cache
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/system-config2
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/config
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/system-data2
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/data
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/state
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-generate/.dirs/runtime
683s ok 2 /gdbus/introspection-generate
683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/home
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/cache
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/system-config2
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/config
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/system-data2
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/data
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/state
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-default-direction/.dirs/runtime
683s ok 3 /gdbus/introspection-default-direction
683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/home
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/cache
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/system-config2
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/config
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/system-data2
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/data
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/state
683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_U8J952/gdbus/introspection-extra-data/.dirs/runtime
683s ok 4 /gdbus/introspection-extra-data
683s # End of gdbus tests
683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
683s ok - glib/gdbus-introspection.test
683s # Running test: glib/cxx-20.test
683s TAP version 14
683s # random seed: R02S5178f8cd0e573ee60d1602e4049ab52c
683s 1..2
683s # Start of gtask tests
683s # 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.
683s ok 1 /gtask/name
683s # Start of name tests
683s # 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.
683s ok 2 /gtask/name/macro-wrapper
683s # End of name tests
683s # End of gtask tests
683s ok - glib/cxx-20.test
683s # Running test: glib/assert-msg-test.py.test
683s TAP version 13
683s ok 1 __main__.TestAssertMessage.test_gassert
683s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
683s # tmpdir: /tmp/tmpqgzf17dh
683s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test']
683s # Return code: -6
683s # Output:
683s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
683s # Error:
683s # **
683s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
683s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test!
683s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
683s # tmpdir: /tmp/tmpxztse_hn
683s 1..2
683s ok - glib/assert-msg-test.py.test
683s # Running test: glib/gsocketclient-slow.test
683s TAP version 14
683s # random seed: R02Scf96cd237af62d4bcb2f2f536cc73d79
683s 1..4
683s # Start of socket-client tests
683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184
683s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
683s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa06826b10 and GSocketClientAsyncConnectData 0x2aa068210d0
683s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
683s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
683s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0682a5e0 for GSocketClientAsyncConnectData 0x2aa068210d0
683s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
683s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
683s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
683s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
683s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
683s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
683s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0682a5e0 for GSocketClientAsyncConnectData 0x2aa068210d0
683s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
684s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
684s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
684s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused
684s ok 1 /socket-client/connection-fail
684s # slow test /socket-client/connection-fail executed in 1.20 secs
684s # Start of happy-eyeballs tests
684s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa06829300 and GSocketClientAsyncConnectData 0x2aa06829f50
684s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
684s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
684s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0682d560 for GSocketClientAsyncConnectData 0x2aa06829f50
684s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
685s # Executing: glib/gsocketclient-slow.test
685s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
685s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
685s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
685s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
685s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
685s ok 2 /socket-client/happy-eyeballs/slow
685s # slow test /socket-client/happy-eyeballs/slow executed in 0.64 secs
685s # Start of cancellation tests
685s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa06829c30 and GSocketClientAsyncConnectData 0x2aa0682d9e0
685s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
685s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
685s ok 3 /socket-client/happy-eyeballs/cancellation/instant
685s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa06829150 and GSocketClientAsyncConnectData 0x2aa0682d6f0
685s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
685s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
685s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0682d3a0 for GSocketClientAsyncConnectData 0x2aa0682d6f0
685s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
685s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
685s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
685s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
685s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
685s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled!
685s ok 4 /socket-client/happy-eyeballs/cancellation/delayed
685s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.61 secs
685s # End of cancellation tests
685s # End of happy-eyeballs tests
685s # End of socket-client tests
685s ok - glib/gsocketclient-slow.test
685s # Running test: glib/cmph-bdz.test
685s TAP version 14
685s # random seed: R02Sdfd3ae94e9ff0c64df4632a4f73fec68
685s 1..2
685s # Start of cmph-bdz tests
685s ok 1 /cmph-bdz/search
685s ok 2 /cmph-bdz/search-packed
685s # End of cmph-bdz tests
685s ok - glib/cmph-bdz.test
685s # Running test: glib/atomic.test
685s TAP version 14
685s # random seed: R02Sbc00b8b379d18c41839e0010b5bd7fbb
685s 1..2
685s # Start of atomic tests
685s ok 1 /atomic/types
685s ok 2 /atomic/threaded
685s # End of atomic tests
685s ok - glib/atomic.test
685s # Running test: glib/vfs.test
685s TAP version 14
685s # random seed: R02S43e7a1f281f3a8f7dfcf68c7287daf1a
685s 1..3
685s # Start of gvfs tests
685s ok 1 /gvfs/local
685s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
685s ok 2 /gvfs/register-scheme
685s # Start of resource tests
685s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090
685s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI
685s ok 3 /gvfs/resource/malformed-escaping
685s # End of resource tests
685s # End of gvfs tests
685s ok - glib/vfs.test
685s # Running test: glib/power-profile-monitor.test
685s TAP version 14
685s # random seed: R02S055de3de908c19c0be997f95dcf597e9
685s 1..1
685s # Start of power-profile-monitor tests
685s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
685s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor
685s ok 1 /power-profile-monitor/default
685s # End of power-profile-monitor tests
686s ok - glib/power-profile-monitor.test
686s # Running test: glib/gdbus-threading.test
686s ok - glib/gdbus-threading.test
686s # Running test: glib/rwlock.test
686s TAP version 14
686s # random seed: R02Sf1ed20213349c20181a123abe18e3df0
686s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515)
686s TAP version 14
686s # random seed: R02Sc9780d3bdf103193aa124ea5caf1408b
686s 1..8
686s # Start of thread tests
686s ok 1 /thread/rwlock1
686s ok 2 /thread/rwlock2
686s ok 3 /thread/rwlock3
686s ok 4 /thread/rwlock4
686s ok 5 /thread/rwlock5
686s ok 6 /thread/rwlock6
690s # Executing: glib/rwlock.test
692s ok 7 /thread/rwlock7
692s # slow test /thread/rwlock7 executed in 6.35 secs
692s ok 8 /thread/rwlock8
692s # End of thread tests
692s ok - glib/rwlock.test
692s # Running test: glib/hook.test
692s TAP version 14
692s # random seed: R02S2243b19dea32fe618fb9fee9f70303ed
692s 1..2
692s # Start of hook tests
692s ok 1 /hook/basics
692s ok 2 /hook/corner-cases
692s # End of hook tests
692s ok - glib/hook.test
692s # Running test: glib/tls-database.test
692s TAP version 14
692s # random seed: R02S261f698cb2dc39834382aba5e8085080
692s 1..1
692s ok - glib/tls-database.test
692s # Running test: glib/hash.test
692s # Start of tls-backend tests
692s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
692s ok 1 /tls-backend/set-default-database
692s # End of tls-backend tests
692s TAP version 14
692s # random seed: R02Sb6bb62d91aed482c06f0ac9bf2397986
692s 1..34
692s # Start of hash tests
692s ok 1 /hash/misc
692s ok 2 /hash/one
692s ok 3 /hash/honeyman
692s ok 4 /hash/direct
692s ok 5 /hash/direct2
692s ok 6 /hash/int
692s ok 7 /hash/int64
692s ok 8 /hash/double
692s ok 9 /hash/string
692s ok 10 /hash/set
692s ok 11 /hash/set-ref
692s ok 12 /hash/ref
692s ok 13 /hash/remove-all
692s ok 14 /hash/recursive-remove-all
692s ok 15 /hash/find
692s ok 16 /hash/foreach
692s ok 17 /hash/foreach-steal
692s ok 18 /hash/steal-extended
692s ok 19 /hash/steal-all-keys
692s ok 20 /hash/steal-all-values
692s ok 21 /hash/lookup-extended
692s ok 22 /hash/new-similar
692s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944
692s ok 23 /hash/lookup-null-key
692s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459
692s ok 24 /hash/destroy-modify
692s ok 25 /hash/consistency
692s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544
692s ok 26 /hash/iter-replace
692s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815
692s ok 27 /hash/set-insert-corruption
692s ok 28 /hash/set-to-strv
692s ok 29 /hash/get-keys-as-ptr-array
692s ok 30 /hash/get-values-as-ptr-array
692s ok 31 /hash/primes
692s # Start of int64 tests
692s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word
692s ok 32 /hash/int64/collisions
692s # End of int64 tests
692s # Start of double tests
692s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64)
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771
692s ok 33 /hash/double/collisions
692s # End of double tests
692s # Start of recursive-remove-all tests
692s # End of recursive-remove-all tests
692s # Start of steal-extended tests
692s ok 34 /hash/steal-extended/optional
692s # End of steal-extended tests
692s # End of hash tests
692s TAP version 14
692s # random seed: R02S577c90c03e622132331a35c723ab8654
692s 1..2
692s # Start of gnotification tests
692s ok 1 /gnotification/basic
692s ok 2 /gnotification/properties
692s # End of gnotification tests
692s TAP version 14
692s # random seed: R02S09e81ca540ced4bbb11fd3a22ce45bf8
692s 1..4
692s # Start of dump tests
692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/home
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/cache
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/system-config1:/tmp/test_dump_VEUW52/dump/empty-file/.dirs/system-config2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/config
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/system-data1:/tmp/test_dump_VEUW52/dump/empty-file/.dirs/system-data2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/data
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/state
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VEUW52/dump/empty-file/.dirs/runtime
692s ok 1 /dump/empty-file
692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/home
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/cache
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/system-config2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/config
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/system-data2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/data
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/state
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VEUW52/dump/missing-get-type/.dirs/runtime
692s Invalid GType function: 'does_not_exist_get_type'
692s ok 2 /dump/missing-get-type
692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/home
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/cache
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_VEUW52/dump/missing-quark/.dirs/system-config2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/config
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_VEUW52/dump/missing-quark/.dirs/system-data2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/data
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/state
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VEUW52/dump/missing-quark/.dirs/runtime
692s Invalid error quark function: 'does_not_exist_error'
692s ok 3 /dump/missing-quark
692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VEUW52/dump/basic/.dirs/home
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VEUW52/dump/basic/.dirs/cache
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VEUW52/dump/basic/.dirs/system-config1:/tmp/test_dump_VEUW52/dump/basic/.dirs/system-config2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VEUW52/dump/basic/.dirs/config
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VEUW52/dump/basic/.dirs/system-data1:/tmp/test_dump_VEUW52/dump/basic/.dirs/system-data2
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VEUW52/dump/basic/.dirs/data
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VEUW52/dump/basic/.dirs/state
692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VEUW52/dump/basic/.dirs/runtime
692s ok 4 /dump/basic
692s # End of dump tests
692s TAP version 14
692s # random seed: R02S9f7d99c26202a10073e8651fa75e9ba7
692s 1..10
692s # Start of data-input-stream tests
692s ok 1 /data-input-stream/basic
692s ok - glib/hash.test
692s # Running test: glib/gnotification.test
692s ok - glib/gnotification.test
692s # Running test: glib/dump.test
692s ok - glib/dump.test
692s # Running test: glib/data-input-stream.test
692s ok 2 /data-input-stream/read-lines-LF
692s ok 3 /data-input-stream/read-lines-LF-valid-utf8
692s ok 4 /data-input-stream/read-lines-LF-invalid-utf8
692s ok 5 /data-input-stream/read-lines-CR
692s ok 6 /data-input-stream/read-lines-CR-LF
692s ok 7 /data-input-stream/read-lines-any
692s ok 8 /data-input-stream/read-until
692s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^
692s # Test vector 1: {"key": "value"}? and ?
692s ok 9 /data-input-stream/read-upto
692s ok 10 /data-input-stream/read-int
692s # End of data-input-stream tests
692s ok - glib/data-input-stream.test
692s # Running test: glib/utils-c-17.test
692s TAP version 14
692s # random seed: R02S8e89d247d10f3358e9c1a2234b8721f2
692s 1..41
692s # Start of utils tests
692s ok 1 /utils/language-names
692s ok 2 /utils/locale-variants
692s ok 3 /utils/version
692s ok 4 /utils/appname
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
692s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
692s ok 5 /utils/prgname-thread-safety
692s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
692s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
692s ok 6 /utils/tmpdir
692s ok 7 /utils/basic_bits
692s ok 8 /utils/bits
692s ok 9 /utils/swap
692s ok 10 /utils/find-program
692s ok 11 /utils/find-program-for-path
692s ok 12 /utils/debug
692s ok 13 /utils/codeset
692s ok 14 /utils/codeset2
692s ok 15 /utils/console-charset
692s ok 16 /utils/gettext
692s ok 17 /utils/username
692s ok 18 /utils/realname
692s ok 19 /utils/hostname
692s ok 20 /utils/xdgdirs
692s ok 21 /utils/specialdir
692s # NAME: Ubuntu
692s ok 22 /utils/os-info
692s ok 23 /utils/clear-pointer
692s ok 24 /utils/clear-pointer-cast
692s ok 25 /utils/take-pointer
692s ok 26 /utils/clear-source
692s ok 27 /utils/misc-mem
692s # /utils/aligned-mem summary: Aligned memory allocator
692s # Alignment must not be zero
692s # Alignment must be a power of two
692s # Alignment must be a multiple of sizeof(void*)
692s ok 28 /utils/aligned-mem
692s # /utils/free-sized summary: Check that g_free_sized() works
692s ok 29 /utils/free-sized
692s ok 30 /utils/nullify
692s ok 31 /utils/atexit
692s ok 32 /utils/check-setuid
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
692s ok 33 /utils/int-limits
692s ok 34 /utils/clear-list
692s ok 35 /utils/clear-slist
692s ok 36 /utils/steal-handle-id
692s ok - glib/utils-c-17.test
692s # Running test: glib/pollable.test
692s # Start of specialdir tests
692s ok 37 /utils/specialdir/desktop
692s # End of specialdir tests
692s # Start of clear-pointer tests
692s ok 38 /utils/clear-pointer/side-effects
692s # End of clear-pointer tests
692s # Start of aligned-mem tests
692s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
692s ok 39 /utils/aligned-mem/alignment
692s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
692s ok 40 /utils/aligned-mem/zeroed
692s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
692s ok 41 /utils/aligned-mem/free-sized
692s # Start of subprocess tests
692s # End of subprocess tests
692s # End of aligned-mem tests
692s # End of utils tests
692s TAP version 14
692s # random seed: R02Sa952b0062a1a0aa4f52568f256888acb
692s 1..6
692s # Start of pollable tests
692s ok 1 /pollable/converter
692s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
692s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0fbaaad0 and GSocketClientAsyncConnectData 0x2aa0fba6bf0
692s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
692s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
692s ok - glib/pollable.test
692s # Running test: glib/mainloop.test
692s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0fbaf9d0 for GSocketClientAsyncConnectData 0x2aa0fba6bf0
692s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
692s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
692s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
692s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
692s ok 2 /pollable/socket
692s # Start of unix tests
692s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets
692s ok 3 /pollable/unix/pipe
692s # /pollable/unix/pty summary: Test that PTYs are considered pollable
692s ok 4 /pollable/unix/pty
692s # /pollable/unix/file summary: Test that regular files are not considered pollable
692s ok 5 /pollable/unix/file
692s # /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
692s ok 6 /pollable/unix/nulldev
692s # End of unix tests
692s # End of pollable tests
692s TAP version 14
692s # random seed: R02S549cde05b17d3763dec0fc49916fc53a
692s 1..45
692s # Start of maincontext tests
692s ok 1 /maincontext/basic
692s # Add same-priority sources: 13
692s # Find each source: 1
692s # Remove in random order: 11
692s ok 2 /maincontext/nsources_same_priority
692s # Add different-priority sources: 13
692s # Find each source: 1
692s # Remove in random order: 13
692s ok 3 /maincontext/nsources_different_priority
692s # Add sources from threads: 39
692s # Remove sources from threads: 20
692s ok 4 /maincontext/nsources_threadpool
692s ok 5 /maincontext/source_finalization
692s # /maincontext/idle-once summary: Test g_idle_add_once() works
692s ok 6 /maincontext/idle-once
692s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
692s ok 7 /maincontext/timeout-once
692s # Start of source_finalization_from_source tests
692s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 8 /maincontext/source_finalization_from_source/0
692s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 9 /maincontext/source_finalization_from_source/1
692s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 10 /maincontext/source_finalization_from_source/2
692s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 11 /maincontext/source_finalization_from_source/3
692s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 12 /maincontext/source_finalization_from_source/4
692s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 13 /maincontext/source_finalization_from_source/5
692s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 14 /maincontext/source_finalization_from_source/6
692s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 15 /maincontext/source_finalization_from_source/7
692s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 16 /maincontext/source_finalization_from_source/8
692s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
692s ok 17 /maincontext/source_finalization_from_source/9
692s # End of source_finalization_from_source tests
692s # Start of source_finalization_from_dispatch tests
692s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
692s ok 18 /maincontext/source_finalization_from_dispatch/0
692s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
692s ok 19 /maincontext/source_finalization_from_dispatch/1
692s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
692s ok 20 /maincontext/source_finalization_from_dispatch/2
692s # End of source_finalization_from_dispatch tests
692s # End of maincontext tests
692s # Start of mainloop tests
692s ok 21 /mainloop/basic
692s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
692s ok 23 /mainloop/priorities
693s ok 24 /mainloop/invoke
693s # slow test /mainloop/invoke executed in 0.50 secs
694s ok 25 /mainloop/child_sources
694s # slow test /mainloop/child_sources executed in 1.19 secs
695s # Executing: glib/mainloop.test
696s ok 26 /mainloop/recursive_child_sources
696s # slow test /mainloop/recursive_child_sources executed in 2.18 secs
696s ok 27 /mainloop/recursive_loop_child_sources
696s ok 28 /mainloop/swapping_child_sources
696s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
696s ok 29 /mainloop/blocked_child_sources
697s ok 30 /mainloop/source_time
697s # slow test /mainloop/source_time executed in 1.00 secs
697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
697s ok 31 /mainloop/overflow
698s ok 32 /mainloop/ready-time
698s # slow test /mainloop/ready-time executed in 0.50 secs
698s ok 33 /mainloop/wakeup
698s ok 34 /mainloop/remove-invalid
698s ok 35 /mainloop/unref-while-pending
698s ok 36 /mainloop/unix-fd
698s ok 37 /mainloop/unix-fd-source
698s ok 38 /mainloop/source-unix-fd-api
698s ok - glib/mainloop.test
698s # Running test: glib/private.test
698s ok 39 /mainloop/wait
698s ok 40 /mainloop/unix-file-poll
698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
698s ok 41 /mainloop/unix-fd-priority
698s ok 42 /mainloop/nfds
698s ok 43 /mainloop/steal-fd
698s # Start of ownerless-polling tests
698s ok 44 /mainloop/ownerless-polling/attach-first
698s ok 45 /mainloop/ownerless-polling/pop-first
698s # End of ownerless-polling tests
698s # End of mainloop tests
698s TAP version 14
698s # random seed: R02Sb8b60a73b1a94bca16750de2ea7808f7
698s 1..8
698s # Start of thread tests
698s ok 1 /thread/private1
700s ok 2 /thread/private2
700s # slow test /thread/private2 executed in 1.09 secs
700s ok 3 /thread/private3
700s ok 4 /thread/staticprivate1
700s ok 5 /thread/staticprivate2
700s ok 6 /thread/staticprivate3
700s # Executing: glib/private.test
701s ok 7 /thread/staticprivate4
701s # slow test /thread/staticprivate4 executed in 1.09 secs
701s ok 8 /thread/staticprivate5
701s # End of thread tests
701s ok - glib/private.test
701s # Running test: glib/async-close-output-stream.test
701s TAP version 14
701s # random seed: R02S4c7769ae257cfbf0cc75c17b75ad6092
701s 1..3
701s # Start of close-async tests
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
701s ok 1 /close-async/without-flush
701s ok - glib/async-close-output-stream.test
701s # Running test: glib/gobject-query.py.test
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
701s ok 2 /close-async/with-flush
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
701s ok 3 /close-async/with-async-flush
701s # End of close-async tests
701s TAP version 13
701s ok 1 __main__.TestGobjectQuery.test_froots
701s # gobject-query: /usr/bin/gobject-query
701s # tmpdir: /tmp/tmpz1ipuxwm
701s # Running: ['/usr/bin/gobject-query', 'froots']
701s # Return code: 0
701s # Output:
701s # ├void
701s # ├GInterface
701s # │ └GTypePlugin
701s # ├gchar
701s # ├guchar
701s # ├gboolean
701s # ├gint
701s # ├guint
701s # ├glong
701s # ├gulong
701s # ├gint64
701s # ├guint64
701s # ├GEnum
701s # ├GFlags
701s # ├gfloat
701s # ├gdouble
701s # ├gchararray
701s # ├gpointer
701s # │ └GType
701s # ├GBoxed
701s # │ └GValueArray
701s # ├GParam
701s # │ ├GParamChar
701s # │ ├GParamUChar
701s # │ ├GParamBoolean
701s # │ ├GParamInt
701s # │ ├GParamUInt
701s # │ ├GParamLong
701s # │ ├GParamULong
701s # │ ├GParamInt64
701s # │ ├GParamUInt64
701s # │ ├GParamUnichar
701s # │ ├GParamEnum
701s # │ ├GParamFlags
701s # │ ├GParamFloat
701s # │ ├GParamDouble
701s # │ ├GParamString
701s # │ ├GParamParam
701s # │ ├GParamBoxed
701s # │ ├GParamPointer
701s # │ ├GParamValueArray
701s # │ ├GParamObject
701s # │ ├GParamOverride
701s # │ ├GParamGType
701s # │ └GParamVariant
701s # ├GObject
701s # â””GVariant
701s # Error:
701s ok 2 __main__.TestGobjectQuery.test_help
701s # gobject-query: /usr/bin/gobject-query
701s # tmpdir: /tmp/tmpfqkly8id
701s # Running: ['/usr/bin/gobject-query', '--help']
701s # Return code: 0
701s # Output:
701s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}]
701s # -r specify root type
701s # -n don't descend type tree
701s # -h show help
701s # -b specify indent string
701s # -i specify incremental indent string
701s # -s specify line spacing
701s # qualifiers:
701s # froots iterate over fundamental roots
701s # tree print type tree
701s # Error:
701s ok 3 __main__.TestGobjectQuery.test_tree
701s # gobject-query: /usr/bin/gobject-query
701s # tmpdir: /tmp/tmpscfkqj7o
701s # Running: ['/usr/bin/gobject-query', 'tree']
701s # Return code: 0
701s # Output:
701s # GObject
701s # Error:
701s ok 4 __main__.TestGobjectQuery.test_version
701s # gobject-query: /usr/bin/gobject-query
701s # tmpdir: /tmp/tmpcps0i8ag
701s # Running: ['/usr/bin/gobject-query', '--version']
701s # Return code: 0
701s # Output:
701s # 2.84.1
701s # Error:
701s 1..4
701s ok - glib/gobject-query.py.test
701s # Running test: glib/memchunk.test
701s TAP version 14
701s # random seed: R02S4855fd4e1d72d7fafe6ab27de7779aee
701s 1..1
701s # Start of memchunk tests
701s ok 1 /memchunk/basic
701s # End of memchunk tests
701s ok - glib/memchunk.test
701s # Running test: glib/sleepy-stream.test
701s TAP version 14
701s # random seed: R02Sf240daf592cf12c98ffa7b7e91ed0907
701s 1..2
701s # Start of filter-stream tests
701s ok 1 /filter-stream/input
701s ok - glib/sleepy-stream.test
701s # Running test: glib/callable-info.test
701s ok 2 /filter-stream/async
701s # End of filter-stream tests
701s TAP version 14
701s # random seed: R02S45b7e6e475f11a7a49b5e03e1b520a14
701s 1..5
701s # Start of callable-info tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_S3PQ52/callable-info/sync-function/.dirs/runtime
701s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
701s ok 1 /callable-info/sync-function
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/system-config2
701s ok - glib/callable-info.test
701s # Running test: glib/repository-search-paths.test
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_S3PQ52/callable-info/async-function/.dirs/runtime
701s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
701s ok 2 /callable-info/async-function
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_S3PQ52/callable-info/is-method/.dirs/runtime
701s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
701s ok 3 /callable-info/is-method
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_S3PQ52/callable-info/static-method/.dirs/runtime
701s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
701s ok 4 /callable-info/static-method
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_S3PQ52/callable-info/static-vfunc/.dirs/runtime
701s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
701s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361
701s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough
701s # End of callable-info tests
701s TAP version 14
701s ok - glib/repository-search-paths.test
701s # Running test: glib/convert.test
701s ok - glib/convert.test
701s # Running test: glib/logging.test
701s # random seed: R02Sa2b8151c5efb607af81b72324f81bf57
701s 1..4
701s # Start of repository tests
701s # Start of search-paths tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/default/.dirs/runtime
701s ok 1 /repository/search-paths/default
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_OWOR52/repository/search-paths/prepend/.dirs/runtime
701s ok 2 /repository/search-paths/prepend
701s # End of search-paths tests
701s # Start of library-paths tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/default/.dirs/runtime
701s ok 3 /repository/library-paths/default
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_OWOR52/repository/library-paths/prepend/.dirs/runtime
701s ok 4 /repository/library-paths/prepend
701s # End of library-paths tests
701s # End of repository tests
701s TAP version 14
701s # random seed: R02S86e5cd4beccd37ad49459b0072e3fe1a
701s 1..14
701s # Start of conversion tests
701s ok 1 /conversion/no-conv
701s ok 2 /conversion/iconv-state
701s ok 3 /conversion/illegal-sequence
701s ok 4 /conversion/byte-order
701s ok 5 /conversion/unicode
701s ok 6 /conversion/filename-utf8
701s ok 7 /conversion/filename-display
701s ok 8 /conversion/convert-embedded-nul
701s # Start of locale-to-utf8 tests
701s ok 9 /conversion/locale-to-utf8/embedded-nul
701s # Start of embedded-nul tests
701s # Start of subprocess tests
701s # End of subprocess tests
701s # End of embedded-nul tests
701s # End of locale-to-utf8 tests
701s # Start of locale-from-utf8 tests
701s ok 10 /conversion/locale-from-utf8/embedded-nul
701s # Start of embedded-nul tests
701s # Start of subprocess tests
701s # End of subprocess tests
701s # End of embedded-nul tests
701s # End of locale-from-utf8 tests
701s # Start of filename-to-utf8 tests
701s ok 11 /conversion/filename-to-utf8/embedded-nul
701s # Start of embedded-nul tests
701s # Start of subprocess tests
701s # End of subprocess tests
701s # End of embedded-nul tests
701s # End of filename-to-utf8 tests
701s # Start of filename-from-utf8 tests
701s ok 12 /conversion/filename-from-utf8/embedded-nul
701s # Start of embedded-nul tests
701s # Start of subprocess tests
701s # End of subprocess tests
701s # End of embedded-nul tests
701s # End of filename-from-utf8 tests
701s # Start of filename-from-uri tests
701s ok 13 /conversion/filename-from-uri/query-is-ignored
701s ok 14 /conversion/filename-from-uri/fragment-is-ignored
701s # End of filename-from-uri tests
701s # End of conversion tests
701s TAP version 14
701s # random seed: R02Sa75634b7ad3036021c5c875b79802e54
701s 1..17
701s # Start of logging tests
701s ok 1 /logging/default-handler
701s ok 2 /logging/warnings
701s ok 3 /logging/fatal-log-mask
701s # bu-DEBUG: message
701s # ba-DEBUG: message
701s # ba-INFO: message
701s ok 4 /logging/set-handler
701s ok 5 /logging/print-handler
701s ok 6 /logging/printerr-handler
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052
701s # The Log Message Handler
701s #
701s # The Good Fail Message Handler
701s #
701s ok 7 /logging/653052
701s ok 8 /logging/gibberish
701s # Start of default-handler tests
701s # Start of subprocess tests
701s # End of subprocess tests
701s # End of default-handler tests
701s # End of logging tests
701s # Start of structured-logging tests
701s ok 9 /structured-logging/no-state
701s ok 10 /structured-logging/some-state
701s ok 11 /structured-logging/robustness
701s ok 12 /structured-logging/roundtrip1
701s ok 13 /structured-logging/roundtrip2
701s ok 14 /structured-logging/roundtrip3
701s ok 15 /structured-logging/variant1
701s ok 16 /structured-logging/variant2
701s ok 17 /structured-logging/set-writer-func-twice
701s # End of structured-logging tests
701s ok - glib/logging.test
701s # Running test: glib/asyncqueue.test
701s TAP version 14
701s # random seed: R02S4a12e7e4196ba42c84cb5a1584903869
701s 1..7
701s # Start of asyncqueue tests
701s ok 1 /asyncqueue/basics
701s ok 2 /asyncqueue/sort
701s ok 3 /asyncqueue/destroy
701s ok 4 /asyncqueue/threads
701s ok 5 /asyncqueue/timed
701s ok 6 /asyncqueue/remove
701s ok 7 /asyncqueue/push_front
701s # End of asyncqueue tests
701s ok - glib/asyncqueue.test
701s # Running test: glib/macros.test
701s TAP version 14
701s # random seed: R02S1a10693d76af68ad01426070171eaab5
701s 1..3
701s # Start of alignof tests
701s ok 1 /alignof/fallback
701s # End of alignof tests
701s # Start of assert tests
701s ok - glib/macros.test
701s ok 2 /assert/static
701s # End of assert tests
701s # Start of struct tests
701s ok 3 /struct/sizeof_member
701s # End of struct tests
701s # Running test: glib/appmonitor.test
701s TAP version 14
701s # random seed: R02S1d199d68fa56cd4a8a8e977a7fee46c3
701s 1..1
701s # Start of monitor tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_JKE352/monitor/app/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_JKE352/monitor/app/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_JKE352/monitor/app/.dirs/runtime
701s # Using data directory: /tmp/test_appmonitor_JKE352/monitor/app/.dirs/data
701s ok 1 /monitor/app
701s # End of monitor tests
701s ok - glib/appmonitor.test
701s # Running test: glib/signalgroup.test
701s TAP version 14
701s # random seed: R02S2b19fc033ea03d70f80a7c7e6b07894b
701s 1..9
701s # Start of GObject tests
701s # Start of SignalGroup tests
701s ok 1 /GObject/SignalGroup/invalid
701s ok 2 /GObject/SignalGroup/simple
701s ok 3 /GObject/SignalGroup/changing-target
701s ok 4 /GObject/SignalGroup/blocking
701s ok 5 /GObject/SignalGroup/weak-ref-target
701s ok 6 /GObject/SignalGroup/connect-object
701s ok 7 /GObject/SignalGroup/signal-parsing
701s ok 8 /GObject/SignalGroup/properties
701s ok 9 /GObject/SignalGroup/interface
701s # Start of signal-parsing tests
701s # End of signal-parsing tests
701s # End of SignalGroup tests
701s # End of GObject tests
701s ok - glib/signalgroup.test
701s # Running test: glib/environment.test
701s TAP version 14
701s # random seed: R02S2c7b2dd222902ae65817f0cff7fd9eb2
701s 1..6
701s # Start of environ tests
701s # /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.
701s ok 1 /environ/listenv
701s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv().
701s ok 2 /environ/getenv
701s ok 3 /environ/setenv
701s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp).
701s ok 4 /environ/array
701s # /environ/null summary: Test getting and setting variables on a NULL envp array.
701s ok 5 /environ/null
701s # /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.
701s ok 6 /environ/case
701s # End of environ tests
701s ok - glib/environment.test
701s # Running test: glib/gdbus-serialization.test
701s TAP version 14
701s # random seed: R02Sf42da26c62eaa7d7de0a64b24710049d
701s 1..18
701s # Start of gdbus tests
701s # Start of message-serialize tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/basic/.dirs/runtime
701s ok 1 /gdbus/message-serialize/basic
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/complex/.dirs/runtime
701s ok 2 /gdbus/message-serialize/complex
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/invalid/.dirs/runtime
701s ok 3 /gdbus/message-serialize/invalid
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/.dirs/runtime
701s ok 4 /gdbus/message-serialize/header-checks
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/double-array/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754
701s ok 5 /gdbus/message-serialize/double-array
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/empty-structure/.dirs/runtime
701s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing.
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
701s ok 6 /gdbus/message-serialize/empty-structure
701s # Start of header-checks tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-serialize/header-checks/valid/.dirs/runtime
701s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types
701s ok 7 /gdbus/message-serialize/header-checks/valid
701s # End of header-checks tests
701s # End of message-serialize tests
701s # Start of message-parse tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612
701s ok 8 /gdbus/message-parse/empty-arrays-of-arrays
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/non-signature-header/.dirs/runtime
701s ok 9 /gdbus/message-parse/non-signature-header
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-signature-header/.dirs/runtime
701s ok 10 /gdbus/message-parse/empty-signature-header
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/multiple-signature-header/.dirs/runtime
701s ok 11 /gdbus/message-parse/multiple-signature-header
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/over-long-signature-header/.dirs/runtime
701s ok 12 /gdbus/message-parse/over-long-signature-header
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-header-nesting/.dirs/runtime
701s ok 13 /gdbus/message-parse/deep-header-nesting
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/deep-body-nesting/.dirs/runtime
701s ok 14 /gdbus/message-parse/deep-body-nesting
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/truncated/.dirs/runtime
701s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected.
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528
701s ok 15 /gdbus/message-parse/truncated
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/empty-structure/.dirs/runtime
701s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing.
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
701s ok 16 /gdbus/message-parse/empty-structure
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/missing-header/.dirs/runtime
701s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error.
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
701s ok 17 /gdbus/message-parse/missing-header
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/home
701s ok - glib/gdbus-serialization.test
701s # Running test: glib/gdbus-proxy-well-known-name.test
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8IA452/gdbus/message-parse/invalid-header-type/.dirs/runtime
701s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked.
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
701s ok 18 /gdbus/message-parse/invalid-header-type
701s # End of message-parse tests
701s # End of gdbus tests
701s ok - glib/gdbus-proxy-well-known-name.test
701s # Running test: glib/timer.test
701s TAP version 14
701s # random seed: R02Sd479d259bace8f7ee596e152480a4143
701s 1..1
701s # Start of gdbus tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_IMG452/gdbus/proxy-well-known-name/.dirs/runtime
701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
701s ok 1 /gdbus/proxy-well-known-name
701s # End of gdbus tests
701s TAP version 14
701s # random seed: R02Sbdd7727b258594ad092da5cfbc3d96e9
701s 1..10
701s # Start of timer tests
701s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820)
701s ok 2 /timer/stop
701s ok 3 /timer/continue
701s ok 4 /timer/reset
701s ok 5 /timer/is_active
701s # End of timer tests
701s # Start of timeval tests
701s ok 6 /timeval/add
701s ok 7 /timeval/from-iso8601
701s ok 8 /timeval/to-iso8601
701s # Start of to-iso8601 tests
701s ok 9 /timeval/to-iso8601/overflow
701s ok - glib/timer.test
701s # Running test: glib/timeout.test
701s # End of to-iso8601 tests
701s # End of timeval tests
701s # Start of usleep tests
701s ok 10 /usleep/with-zero-wait
701s # End of usleep tests
701s TAP version 14
701s # random seed: R02S7483894762a99ae5bce946ddcf68f862
701s 1..5
701s # Start of timeout tests
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
703s ok 1 /timeout/seconds
703s # slow test /timeout/seconds executed in 2.10 secs
705s # Executing: glib/timeout.test
705s ok 2 /timeout/seconds-once
705s # slow test /timeout/seconds-once executed in 2.10 secs
705s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
708s ok 3 /timeout/weeks-overflow
708s # slow test /timeout/weeks-overflow executed in 2.10 secs
708s ok 4 /timeout/far-future-ready-time
710s # Executing: glib/timeout.test
715s # Executing: glib/timeout.test
718s ok 5 /timeout/rounding
718s # slow test /timeout/rounding executed in 10.13 secs
718s # End of timeout tests
718s ok - glib/timeout.test
718s # Running test: glib/deftype.test
718s ok - glib/deftype.test
718s # Running test: glib/sandbox.test
718s TAP version 14
718s # random seed: R02Sc7762c538eed22ec43a17e369b0e31f4
718s 1..4
718s # Start of sandbox tests
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_YCSR52/sandbox/none/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_YCSR52/sandbox/none/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YCSR52/sandbox/none/.dirs/runtime
718s ok 1 /sandbox/none
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YCSR52/sandbox/snap/.dirs/runtime
718s # Created snap.yaml in /tmp/test_sandbox_YCSR52/snap/current/meta/snap.yaml
718s ok 2 /sandbox/snap
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/cache
718s ok - glib/sandbox.test
718s # Running test: glib/once.test
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YCSR52/sandbox/classic-snap/.dirs/runtime
718s # Created snap.yaml in /tmp/test_sandbox_YCSR52/snap/current/meta/snap.yaml
718s ok 3 /sandbox/classic-snap
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/runtime
718s # Creating .flatpak-info in /tmp/test_sandbox_YCSR52/sandbox/flatpak/.dirs/runtime/.flatpak-info
718s ok 4 /sandbox/flatpak
718s # End of sandbox tests
718s TAP version 14
718s # random seed: R02S11072bff8e5eda5b74ac758eb10cc504
718s 1..5
718s # Start of once tests
718s # /once/single-threaded summary: Test g_once() usage from a single thread
718s ok 1 /once/single-threaded
718s # /once/multi-threaded summary: Test g_once() usage from multiple threads
718s ok 2 /once/multi-threaded
718s # End of once tests
718s # Start of once-init tests
718s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread
718s ok 3 /once-init/single-threaded
718s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads
718s ok 4 /once-init/multi-threaded
718s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string
718s ok 5 /once-init/string
718s # End of once-init tests
718s ok - glib/once.test
718s # Running test: glib/unicode.test
718s TAP version 14
718s # random seed: R02S87586bd25164b86f3781bfa66863ba4b
718s 1..39
718s # Start of unicode tests
718s ok 1 /unicode/alnum
718s ok 2 /unicode/alpha
718s ok 3 /unicode/break-type
718s ok 4 /unicode/canonical-decomposition
718s ok 5 /unicode/casefold
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s # Cannot set locale to lt_LT, skipping
718s ok 6 /unicode/casemap_and_casefold
718s ok 7 /unicode/cases
718s ok 8 /unicode/character-type
718s ok 9 /unicode/cntrl
718s ok 10 /unicode/combining-class
718s # Composing U+000041 and U+000042; expecting U+000000
718s # Composing U+000041 and U+000000; expecting U+000000
718s # Composing U+000066 and U+000069; expecting U+000000
718s # Composing U+000308 and U+000301; expecting U+000000
718s # Composing U+000f71 and U+000f72; expecting U+000000
718s # Composing U+00212b and U+000000; expecting U+000000
718s # Composing U+0000c5 and U+000000; expecting U+000000
718s # Composing U+002126 and U+000000; expecting U+000000
718s # Composing U+0003a9 and U+000000; expecting U+000000
718s # Composing U+000041 and U+00030a; expecting U+0000c5
718s # Composing U+00006f and U+000302; expecting U+0000f4
718s # Composing U+001e63 and U+000307; expecting U+001e69
718s # Composing U+000073 and U+000323; expecting U+001e63
718s # Composing U+000064 and U+000307; expecting U+001e0b
718s # Composing U+000064 and U+000323; expecting U+001e0d
718s # Composing U+00d4cc and U+0011b6; expecting U+00d4db
718s # Composing U+001111 and U+001171; expecting U+00d4cc
718s # Composing U+00ce20 and U+0011b8; expecting U+00ce31
718s # Composing U+00110e and U+001173; expecting U+00ce20
718s # Composing U+001100 and U+001160; expecting U+000000
718s # Composing U+001100 and U+001177; expecting U+000000
718s # Composing U+00abff and U+0011b6; expecting U+000000
718s # Composing U+00d7a5 and U+0011b6; expecting U+000000
718s # Composing U+00ac01 and U+0011b6; expecting U+000000
718s # Composing U+00d4cc and U+0011a6; expecting U+000000
718s # Composing U+00d4cc and U+0011c4; expecting U+000000
718s # Composing U+01611e and U+01611e; expecting U+016121
718s # Composing U+01611e and U+01611f; expecting U+016123
718s # Composing U+0000f6 and U+000304; expecting U+00022b
718s # Composing U+000b47 and U+000b57; expecting U+000b4c
718s # Composing U+0000a0 and U+000b57; expecting U+000000
718s # Composing U+016e00 and U+00030a; expecting U+000000
718s # Composing U+00212b and U+016e00; expecting U+000000
718s # Composing U+001e63 and U+000306; expecting U+000000
718s # Composing U+001e63 and U+000304; expecting U+000000
718s # Composing U+001e63 and U+000b57; expecting U+000000
718s # Composing U+001e63 and U+000000; expecting U+000000
718s # Composing U+001e63 and U+0113c2; expecting U+000000
718s # Composing U+001f01 and U+0113c2; expecting U+000000
718s # Composing U+00006e and U+000302; expecting U+000000
718s # Composing U+001e63 and U+01611f; expecting U+000000
718s # Composing U+01138e and U+0113b8; expecting U+000000
718s # Composing U+01611e and U+000000; expecting U+000000
718s # Composing U+000000 and U+01611f; expecting U+000000
718s # Composing U+011390 and U+0113c2; expecting U+000000
718s ok 11 /unicode/compose
718s ok 12 /unicode/decompose
718s ok 13 /unicode/decompose-tail
718s ok 14 /unicode/defined
718s ok 15 /unicode/digit
718s ok 16 /unicode/digit-value
718s # Fully decomposing U+000041; expecting 1 codepoints
718s # Fully decomposing U+00fb01; expecting 1 codepoints
718s # Fully decomposing U+00212b; expecting 2 codepoints
718s # Fully decomposing U+002126; expecting 1 codepoints
718s # Fully decomposing U+000344; expecting 2 codepoints
718s # Fully decomposing U+000f73; expecting 2 codepoints
718s # Fully decomposing U+0000c5; expecting 2 codepoints
718s # Fully decomposing U+0000f4; expecting 2 codepoints
718s # Fully decomposing U+001e69; expecting 3 codepoints
718s # Fully decomposing U+001e63; expecting 2 codepoints
718s # Fully decomposing U+001e0b; expecting 2 codepoints
718s # Fully decomposing U+001e0d; expecting 2 codepoints
718s # Fully decomposing U+00d4db; expecting 3 codepoints
718s # Fully decomposing U+00d4cc; expecting 2 codepoints
718s # Fully decomposing U+00ce31; expecting 3 codepoints
718s # Fully decomposing U+00ce20; expecting 2 codepoints
718s ok 17 /unicode/fully-decompose-canonical
718s ok 18 /unicode/fully-decompose-len
718s ok 19 /unicode/normalization
718s ok 20 /unicode/graph
718s # Testing script Zyyy (code 1517910393)
718s # Testing script Zinh (code 1516858984)
718s # Testing script Zmth (code 1517122664)
718s # Testing script Arab (code 1098015074)
718s # Testing script Armn (code 1098018158)
718s # Testing script Beng (code 1113943655)
718s # Testing script Bopo (code 1114599535)
718s # Testing script Cher (code 1130915186)
718s # Testing script Copt (code 1131376756)
718s # Testing script Cyrl (code 1132032620)
718s # Testing script Dsrt (code 1148416628)
718s # Testing script Deva (code 1147500129)
718s # Testing script Ethi (code 1165256809)
718s # Testing script Geor (code 1197830002)
718s # Testing script Goth (code 1198486632)
718s # Testing script Grek (code 1198679403)
718s # Testing script Gujr (code 1198877298)
718s # Testing script Guru (code 1198879349)
718s # Testing script Hani (code 1214344809)
718s # Testing script Hang (code 1214344807)
718s # Testing script Hebr (code 1214603890)
718s # Testing script Hira (code 1214870113)
718s # Testing script Knda (code 1265525857)
718s # Testing script Kana (code 1264676449)
718s # Testing script Khmr (code 1265134962)
718s # Testing script Laoo (code 1281453935)
718s # Testing script Latn (code 1281455214)
718s # Testing script Mlym (code 1298954605)
718s # Testing script Mong (code 1299148391)
718s # Testing script Mymr (code 1299803506)
718s # Testing script Ogam (code 1332175213)
718s # Testing script Ital (code 1232363884)
718s # Testing script Orya (code 1332902241)
718s # Testing script Runr (code 1383427698)
718s # Testing script Sinh (code 1399418472)
718s # Testing script Syrc (code 1400468067)
718s # Testing script Taml (code 1415671148)
718s # Testing script Telu (code 1415933045)
718s # Testing script Thaa (code 1416126817)
718s # Testing script Thai (code 1416126825)
718s # Testing script Tibt (code 1416192628)
718s # Testing script Cans (code 1130458739)
718s # Testing script Yiii (code 1500080489)
718s # Testing script Tglg (code 1416064103)
718s # Testing script Hano (code 1214344815)
718s # Testing script Buhd (code 1114990692)
718s # Testing script Tagb (code 1415669602)
718s # Testing script Brai (code 1114792297)
718s # Testing script Cprt (code 1131442804)
718s # Testing script Limb (code 1281977698)
718s # Testing script Osma (code 1332964705)
718s # Testing script Shaw (code 1399349623)
718s # Testing script Linb (code 1281977954)
718s # Testing script Tale (code 1415670885)
718s # Testing script Ugar (code 1432838514)
718s # Testing script Talu (code 1415670901)
718s # Testing script Bugi (code 1114990441)
718s # Testing script Glag (code 1198285159)
718s # Testing script Tfng (code 1415999079)
718s # Testing script Sylo (code 1400466543)
718s # Testing script Xpeo (code 1483761007)
718s # Testing script Khar (code 1265131890)
718s # Testing script Zzzz (code 1517976186)
718s # Testing script Bali (code 1113681001)
718s # Testing script Xsux (code 1483961720)
718s # Testing script Phnx (code 1349021304)
718s # Testing script Phag (code 1349017959)
718s # Testing script Nkoo (code 1315663727)
718s # Testing script Kali (code 1264675945)
718s # Testing script Lepc (code 1281716323)
718s # Testing script Rjng (code 1382706791)
718s # Testing script Sund (code 1400204900)
718s # Testing script Saur (code 1398895986)
718s # Testing script Cham (code 1130914157)
718s # Testing script Olck (code 1332503403)
718s # Testing script Vaii (code 1449224553)
718s # Testing script Cari (code 1130459753)
718s # Testing script Lyci (code 1283023721)
718s # Testing script Lydi (code 1283023977)
718s # Testing script Avst (code 1098281844)
718s # Testing script Bamu (code 1113681269)
718s # Testing script Egyp (code 1164409200)
718s # Testing script Armi (code 1098018153)
718s # Testing script Phli (code 1349020777)
718s # Testing script Prti (code 1349678185)
718s # Testing script Java (code 1247901281)
718s # Testing script Kthi (code 1265920105)
718s # Testing script Lisu (code 1281979253)
718s # Testing script Mtei (code 1299473769)
718s # Testing script Sarb (code 1398895202)
718s # Testing script Orkh (code 1332898664)
718s # Testing script Samr (code 1398893938)
718s # Testing script Lana (code 1281453665)
718s # Testing script Tavt (code 1415673460)
718s # Testing script Batk (code 1113683051)
718s # Testing script Brah (code 1114792296)
718s # Testing script Mand (code 1298230884)
718s # Testing script Cakm (code 1130457965)
718s # Testing script Merc (code 1298494051)
718s # Testing script Mero (code 1298494063)
718s # Testing script Plrd (code 1349284452)
718s ok - glib/unicode.test
718s # Running test: glib/gdbus-peer.test
718s # Testing script Shrd (code 1399353956)
718s # Testing script Sora (code 1399812705)
718s # Testing script Takr (code 1415670642)
718s # Testing script Bass (code 1113682803)
718s # Testing script Aghb (code 1097295970)
718s # Testing script Dupl (code 1148547180)
718s # Testing script Elba (code 1164730977)
718s # Testing script Gran (code 1198678382)
718s # Testing script Khoj (code 1265135466)
718s # Testing script Sind (code 1399418468)
718s # Testing script Lina (code 1281977953)
718s # Testing script Mahj (code 1298229354)
718s # Testing script Mani (code 1298230889)
718s # Testing script Mend (code 1298493028)
718s # Testing script Modi (code 1299145833)
718s # Testing script Mroo (code 1299345263)
718s # Testing script Nbat (code 1315070324)
718s # Testing script Narb (code 1315009122)
718s # Testing script Perm (code 1348825709)
718s # Testing script Hmng (code 1215131239)
718s # Testing script Palm (code 1348562029)
718s # Testing script Pauc (code 1348564323)
718s # Testing script Phlp (code 1349020784)
718s # Testing script Sidd (code 1399415908)
718s # Testing script Tirh (code 1416196712)
718s # Testing script Wara (code 1466004065)
718s # Testing script Ahom (code 1097363309)
718s # Testing script Hluw (code 1215067511)
718s # Testing script Hatr (code 1214346354)
718s # Testing script Mult (code 1299541108)
718s # Testing script Hung (code 1215655527)
718s # Testing script Sgnw (code 1399287415)
718s # Testing script Adlm (code 1097100397)
718s # Testing script Bhks (code 1114139507)
718s # Testing script Marc (code 1298231907)
718s # Testing script Newa (code 1315272545)
718s # Testing script Osge (code 1332963173)
718s # Testing script Tang (code 1415671399)
718s # Testing script Gonm (code 1198485101)
718s # Testing script Nshu (code 1316186229)
718s # Testing script Soyo (code 1399814511)
718s # Testing script Zanb (code 1516334690)
718s # Testing script Dogr (code 1148151666)
718s # Testing script Gong (code 1198485095)
718s # Testing script Rohg (code 1383032935)
718s # Testing script Maka (code 1298230113)
718s # Testing script Medf (code 1298490470)
718s # Testing script Sogo (code 1399809903)
718s # Testing script Sogd (code 1399809892)
718s # Testing script Elym (code 1164736877)
718s # Testing script Nand (code 1315008100)
718s # Testing script Hmnp (code 1215131248)
718s # Testing script Wcho (code 1466132591)
718s # Testing script Chrs (code 1130918515)
718s # Testing script Diak (code 1147756907)
718s # Testing script Kits (code 1265202291)
718s # Testing script Yezi (code 1499822697)
718s # Testing script Cpmn (code 1131441518)
718s # Testing script Ougr (code 1333094258)
718s # Testing script Tnsa (code 1416524641)
718s # Testing script Toto (code 1416590447)
718s # Testing script Vith (code 1449751656)
718s # Testing script Kawi (code 1264678761)
718s # Testing script Nagm (code 1315006317)
718s # Testing script Todr (code 1416586354)
718s # Testing script Gara (code 1197568609)
718s # Testing script Tutg (code 1416983655)
718s # Testing script Sunu (code 1400204917)
718s # Testing script Gukh (code 1198877544)
718s # Testing script Krai (code 1265787241)
718s # Testing script Onao (code 1332633967)
718s ok 21 /unicode/iso15924
718s ok 22 /unicode/lower
718s ok 23 /unicode/mark
718s ok 24 /unicode/mirror
718s ok 25 /unicode/print
718s ok 26 /unicode/punctuation
718s ok 27 /unicode/script
718s ok 28 /unicode/space
718s ok 29 /unicode/strdown
718s ok 30 /unicode/strup
718s ok 31 /unicode/turkish-strupdown
718s ok 32 /unicode/title
718s ok 33 /unicode/upper
718s ok 34 /unicode/validate
718s ok 35 /unicode/wide
718s ok 36 /unicode/xdigit
718s ok 37 /unicode/xdigit-value
718s ok 38 /unicode/zero-width
718s ok 39 /unicode/normalize
718s # End of unicode tests
718s TAP version 14
718s # random seed: R02S895de7f685d334bb9598a24398fac85b
718s 1..12
718s # Start of gdbus tests
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/.dirs/runtime
718s # Testing with unix:dir address
718s # Testing with unix:tmpdir address
718s # Testing with unix:path address
718s ok 1 /gdbus/peer-to-peer
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/delayed-message-processing/.dirs/runtime
718s # Testing with unix:dir address
718s ok 2 /gdbus/delayed-message-processing
718s # slow test /gdbus/delayed-message-processing executed in 0.50 secs
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/nonce-tcp/.dirs/runtime
718s ok 3 /gdbus/nonce-tcp
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/tcp-anonymous/.dirs/runtime
718s ok 4 /gdbus/tcp-anonymous
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/credentials/.dirs/runtime
718s ok 5 /gdbus/credentials
718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/home
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/cache
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/system-config2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/config
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/system-data2
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/data
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/state
718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/codegen-peer-to-peer/.dirs/runtime
718s # Testing with unix:dir address
718s # Machine ID: 85e00f920b6648b19312701404fe327d
719s ok 6 /gdbus/codegen-peer-to-peer
719s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs
719s # Start of peer-to-peer tests
719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/home
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/cache
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/system-config2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/config
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/system-data2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/data
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/state
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/signals/.dirs/runtime
719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620
719s # Testing with unix:dir address
719s ok 7 /gdbus/peer-to-peer/signals
719s # Start of invalid tests
719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/home
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/cache
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/system-config2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/config
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/system-data2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/data
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/state
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/server/.dirs/runtime
719s ok 8 /gdbus/peer-to-peer/invalid/server
719s # Start of conn tests
719s # Start of stream tests
719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime
719s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async
719s ok - glib/gdbus-peer.test
719s # Running test: glib/gdbus-connection-loss.test
719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime
719s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync
719s # End of stream tests
719s # Start of addr tests
719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime
719s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async
719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_39AT52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime
719s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync
719s # End of addr tests
719s # End of conn tests
719s # End of invalid tests
719s # End of peer-to-peer tests
719s # End of gdbus tests
719s TAP version 14
719s # random seed: R02S2579bc02b1aa19baa5a1291d77902d0c
719s 1..1
719s # Start of gdbus tests
719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/home
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/cache
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/system-config2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/config
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/system-data2
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/data
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/state
719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_2HY752/gdbus/connection-loss/.dirs/runtime
719s ok 1 /gdbus/connection-loss
719s # End of gdbus tests
719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
719s ok - glib/gdbus-connection-loss.test
719s # Running test: glib/properties-refcount1.test
719s TAP version 14
719s # random seed: R02Sf9bf23b2acefaf00d702f5dcf2f78369
719s 1..1
719s # Start of gobject tests
720s # Start of refcount tests
720s # .c
720s # .e
720s # .b
720s # .d
720s # .c
720s # .f
720s # .c
720s # .b
720s # .d
720s # .e
720s # Executing: glib/properties-refcount1.test
720s # .f
720s # .c
720s # .d
720s # .e
720s # .c
720s # .b
720s # .d
720s # .f
720s # .c
720s # .b
720s # .f
720s # .e
720s # .c
720s # .d
720s # .f
720s # .b
720s # .c
720s # .d
720s # .e
720s # .f
720s # .c
720s # .d
720s # .b
720s # .f
720s # .c
720s # .e
720s # .c
720s # .d
720s # .c
720s # .f
720s # .e
720s # .b
720s # .d
720s # .e
720s # .f
720s # .f
720s # .d
720s # .b
720s # .e
720s # .f
720s # .c
720s # .e
720s # .d
720s # .f
720s # .c
720s # .e
720s # .b
720s # .f
720s # .e
720s # .c
720s # .d
720s # .c
720s # .e
720s # .f
720s # .e
720s # .b
720s # .f
720s # .d
720s # .c
720s # .b
720s # .e
720s # .d
720s # .f
720s # .f
720s # .c
720s # .b
720s # .e
720s # .d
720s # .f
720s # .c
720s # .d
720s # .f
720s # .b
720s # .d
720s # .f
720s # .c
720s # .b
720s # .e
720s # .d
720s # .c
720s # .f
720s # .e
720s # .c
720s # .f
720s # .d
720s # .b
720s # .c
720s # .e
720s # .f
720s # .d
720s # .c
720s # .f
720s # .b
720s # .e
720s # .d
720s # .c
720s # .f
720s # .b
721s # .f
721s # .d
721s # .b
721s # .b
721s # .f
721s # .c
721s # .e
721s # .d
721s # .b
721s # .f
721s # .d
721s # .f
721s # .f
721s # .b
721s # .f
721s # .b
721s # .b
721s # .f
721s # .f
721s # .d
721s # .d
721s # .d
721s # .b
721s # .f
721s # .e
721s # .d
721s # .f
721s # .c
721s # .b
721s # .f
721s # .d
721s # .c
721s # .e
721s # .b
721s # .f
721s # .c
721s # .e
721s # .d
721s # .b
721s # .f
721s # .c
721s # .d
721s # .e
721s # .f
721s # .c
721s # .b
721s # .d
721s # .e
721s # .f
721s # .e
721s # .b
721s # .c
721s # .f
721s # .d
721s # .f
721s # .c
721s # .b
721s # .d
721s # .e
721s # .b
721s # .f
721s # .e
721s # .c
721s # .b
721s # .e
721s # .f
721s # .b
721s # .d
721s # .e
721s # .c
722s # .d
722s # .b
722s # .f
722s # .e
722s # .f
722s # .b
722s # .e
722s # .b
722s # .e
722s # .f
722s # .c
722s # .d
722s # .f
722s # .e
722s # .b
722s # .c
722s # .f
722s # .e
722s # .e
722s # .b
722s # .f
722s # .b
722s # .f
722s # .b
722s # .d
722s # .f
722s # .e
722s # .f
722s # .e
722s # .b
722s # .b
722s # .e
722s # .c
722s # .f
722s # .b
722s # .e
722s # .f
722s # .d
722s # .b
722s # .e
722s # .c
722s # .b
722s # .e
722s # .c
722s # .d
722s # .f
722s # .c
722s # .d
722s # .c
722s # .f
722s # .c
722s # .d
722s # .e
722s # .b
722s # .c
722s # .f
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
723s # .e
724s # .e
724s # .d
724s ok 1 /gobject/refcount/properties-1
724s # slow test /gobject/refcount/properties-1 executed in 4.23 secs
724s # End of refcount tests
724s # End of gobject tests
724s ok - glib/properties-refcount1.test
724s # Running test: glib/utils-c-89.test
724s TAP version 14
724s # random seed: R02S16473215353d1075069bbb139f99290b
724s 1..41
724s # Start of utils tests
724s ok 1 /utils/language-names
724s ok 2 /utils/locale-variants
724s ok 3 /utils/version
724s ok 4 /utils/appname
724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
724s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
724s ok 5 /utils/prgname-thread-safety
724s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
724s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
724s ok 6 /utils/tmpdir
724s ok 7 /utils/basic_bits
724s ok 8 /utils/bits
724s ok 9 /utils/swap
724s ok 10 /utils/find-program
724s ok 11 /utils/find-program-for-path
724s ok 12 /utils/debug
724s ok 13 /utils/codeset
724s ok 14 /utils/codeset2
724s ok 15 /utils/console-charset
724s ok 16 /utils/gettext
724s ok 17 /utils/username
724s ok 18 /utils/realname
724s ok 19 /utils/hostname
724s ok 20 /utils/xdgdirs
724s ok 21 /utils/specialdir
724s # NAME: Ubuntu
724s ok 22 /utils/os-info
724s ok 23 /utils/clear-pointer
724s ok 24 /utils/clear-pointer-cast
724s ok 25 /utils/take-pointer
724s ok 26 /utils/clear-source
724s ok 27 /utils/misc-mem
724s # /utils/aligned-mem summary: Aligned memory allocator
724s # Alignment must not be zero
724s # Alignment must be a power of two
724s # Alignment must be a multiple of sizeof(void*)
724s ok 28 /utils/aligned-mem
724s # /utils/free-sized summary: Check that g_free_sized() works
724s ok 29 /utils/free-sized
724s ok 30 /utils/nullify
724s ok 31 /utils/atexit
724s ok 32 /utils/check-setuid
724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
724s ok 33 /utils/int-limits
724s ok 34 /utils/clear-list
724s ok 35 /utils/clear-slist
724s ok 36 /utils/steal-handle-id
724s # Start of specialdir tests
724s ok 37 /utils/specialdir/desktop
724s # End of specialdir tests
724s # Start of clear-pointer tests
724s ok 38 /utils/clear-pointer/side-effects
724s # End of clear-pointer tests
724s # Start of aligned-mem tests
724s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
724s ok 39 /utils/aligned-mem/alignment
724s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
724s ok 40 /utils/aligned-mem/zeroed
724s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
724s ok 41 /utils/aligned-mem/free-sized
724s ok - glib/utils-c-89.test
724s # Start of subprocess tests
724s # End of subprocess tests
724s # End of aligned-mem tests
724s # End of utils tests
724s # Running test: glib/gdbus-proxy.test
724s TAP version 14
724s # random seed: R02S6094eaa899c9518079e160180b50dca7
724s 1..5
724s # Start of gdbus tests
724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/home
724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/cache
724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/system-config2
724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/config
724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/system-data2
724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/data
724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/state
724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/.dirs/runtime
725s # Executing: glib/gdbus-proxy.test
726s ok 1 /gdbus/proxy
726s # slow test /gdbus/proxy executed in 1.74 secs
726s # Start of proxy tests
726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/home
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/cache
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/system-config2
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/config
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/system-data2
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/data
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/state
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-properties/.dirs/runtime
726s ok 2 /gdbus/proxy/no-properties
726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/home
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/cache
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/system-config2
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/config
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/system-data2
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/data
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/state
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/wellknown-noauto/.dirs/runtime
726s ok 3 /gdbus/proxy/wellknown-noauto
726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/home
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/cache
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/system-config2
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/config
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/system-data2
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/data
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/state
726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/async/.dirs/runtime
727s ok 4 /gdbus/proxy/async
727s # slow test /gdbus/proxy/async executed in 1.81 secs
727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/home
727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/cache
727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/system-config2
727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/config
727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/system-data2
727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/data
727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/state
727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_WBD152/gdbus/proxy/no-match-rule/.dirs/runtime
727s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works
727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109
730s # Executing: glib/gdbus-proxy.test
730s ok 5 /gdbus/proxy/no-match-rule
730s # slow test /gdbus/proxy/no-match-rule executed in 2.36 secs
730s # End of proxy tests
730s # End of gdbus tests
730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
730s ok - glib/gdbus-proxy.test
730s # Running test: glib/protocol.test
730s TAP version 14
730s # random seed: R02Sb83db675244bca5b0f15b6ab0aba07ce
730s 1..9
730s # Start of glib tests
730s # Start of testing tests
730s # Start of protocol tests
730s ok 1 /glib/testing/protocol/debug
730s ok 2 /glib/testing/protocol/info
730s ok 3 /glib/testing/protocol/message
730s ok 4 /glib/testing/protocol/warning
730s ok 5 /glib/testing/protocol/critical
730s ok 6 /glib/testing/protocol/error
730s ok 7 /glib/testing/protocol/gtest-message
730s ok 8 /glib/testing/protocol/test-message
730s ok 9 /glib/testing/protocol/test-error
730s # End of protocol tests
730s # End of testing tests
730s # End of glib tests
730s ok - glib/protocol.test
730s # Running test: glib/g-file-info-filesystem-readonly.test
730s ok - glib/g-file-info-filesystem-readonly.test
730s # Running test: glib/repository.test
730s TAP version 14
730s # random seed: R02Se6fbf288655fd75951113ef04f857f99
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731
730s 1..2
730s # Start of g-file-info-filesystem-readonly tests
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime
730s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_ZPQZ52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime
730s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
730s # End of g-file-info-filesystem-readonly tests
730s TAP version 14
730s # random seed: R02S97e09293553802262b1a073276984406
730s 1..23
730s # Start of repository tests
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/basic/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/basic/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/basic/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/basic/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/basic/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/basic/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/basic/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/basic/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/basic/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/basic/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/basic summary: Test basic opening of a repository and requiring a typelib
730s ok 1 /repository/basic
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/info/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/info/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/info/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/info/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/info/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/info/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/info/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/info/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/info/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/info/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/info summary: Test retrieving some basic info blobs from a typelib
730s ok 2 /repository/info
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/dependencies/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/dependencies/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/dependencies/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed
730s ok 3 /repository/dependencies
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/arg-info/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/arg-info/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/arg-info/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib
730s ok 4 /repository/arg-info
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/callable-info/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/callable-info/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/callable-info/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib
730s ok 5 /repository/callable-info
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/callback-info/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/callback-info/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/callback-info/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib
730s ok 6 /repository/callback-info
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/char-types/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/char-types/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/char-types/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively
730s ok 7 /repository/char-types
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/constructor-return-type/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv()
730s ok 8 /repository/constructor-return-type
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/enum-info-c-identifier/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier
730s ok 9 /repository/enum-info-c-identifier
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/enum-info-static-methods/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/enum-info-static-methods summary: Test an enum with methods
730s ok 10 /repository/enum-info-static-methods
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/error-quark/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/error-quark/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/error-quark/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/error-quark summary: Test finding an error quark by error domain
730s ok 11 /repository/error-quark
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/flags-info-c-identifier/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier
730s ok 12 /repository/flags-info-c-identifier
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/fundamental-ref-func/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type
730s ok 13 /repository/fundamental-ref-func
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/instance-method-ownership-transfer/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter
730s ok 14 /repository/instance-method-ownership-transfer
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/object-gtype-interfaces/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces()
730s ok 15 /repository/object-gtype-interfaces
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/signal-info-with-array-length-arg/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal
730s ok 16 /repository/signal-info-with-array-length-arg
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/type-info-name/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo
730s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96
730s ok 17 /repository/type-info-name
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-no-invoker/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose
730s ok 18 /repository/vfunc-info-with-no-invoker
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async
730s ok 19 /repository/vfunc-info-with-invoker-on-interface
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/vfunc-info-with-invoker-on-object/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display
730s ok 20 /repository/vfunc-info-with-invoker-on-object
730s ok - glib/repository.test
730s # Running test: glib/642026-ec.test
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/find-by-gtype/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/find-by-gtype summary: Test finding a GType
730s ok 21 /repository/find-by-gtype
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/loaded-namespaces/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/loaded-namespaces summary: Test listing loaded namespaces
730s ok 22 /repository/loaded-namespaces
730s # Start of base-info tests
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KDZZ52/repository/base-info/clear/.dirs/runtime
730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
730s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct
730s ok 23 /repository/base-info/clear
730s # End of base-info tests
730s # End of repository tests
730s TAP version 14
730s # random seed: R02S9f292545db57b946d886474f8b89d67f
730s 1..1
730s # Start of glib tests
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
730s ok - glib/642026-ec.test
730s ok 1 /glib/642026
730s # End of glib tests
730s # Running test: glib/bytes.test
730s TAP version 14
730s # random seed: R02S44ca9ed22be541c9454473a29901730f
730s 1..21
730s # Start of bytes tests
730s ok 1 /bytes/new
730s ok 2 /bytes/new-take
730s ok 3 /bytes/new-static
730s ok 4 /bytes/new-with-free-func
730s ok 5 /bytes/new-from-bytes
730s ok 6 /bytes/new-from-bytes-slice
730s ok 7 /bytes/new-from-bytes-shared-ref
730s ok 8 /bytes/hash
730s ok 9 /bytes/equal
730s ok 10 /bytes/compare
730s ok 11 /bytes/null
730s ok - glib/bytes.test
730s ok 12 /bytes/get-region
730s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op
730s ok 13 /bytes/unref-null
730s # Start of to-data tests
730s ok 14 /bytes/to-data/transferred
730s ok 15 /bytes/to-data/two-refs
730s ok 16 /bytes/to-data/non-malloc
730s ok 17 /bytes/to-data/different-free-func
730s # End of to-data tests
730s # Start of to-array tests
730s ok 18 /bytes/to-array/transferred
730s ok 19 /bytes/to-array/two-refs
730s ok 20 /bytes/to-array/non-malloc
730s # Start of transferred tests
730s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected
730s ok 21 /bytes/to-array/transferred/oversize
730s # End of transferred tests
730s # End of to-array tests
730s # End of bytes tests
730s # Running test: glib/macros-c-99.test
730s ok - glib/macros-c-99.test
730s TAP version 14
730s # random seed: R02S63aebbd739d7655a7727f7caa88c2685
730s 1..4
730s # Start of C tests
730s ok 1 /C/standard-99
730s # End of C tests
730s # Start of alignof tests
730s ok 2 /alignof/fallback
730s # End of alignof tests
730s # Start of assert tests
730s ok 3 /assert/static
730s # End of assert tests
730s # Start of struct tests
730s ok 4 /struct/sizeof_member
730s # End of struct tests
730s # Running test: glib/dir.test
730s ok - glib/dir.test
730s TAP version 14
730s # random seed: R02S867205789dce99f64b5cd9b8d6a26219
730s 1..3
730s # Start of dir tests
730s ok 1 /dir/read
730s ok 2 /dir/nonexisting
730s # /dir/refcounting summary: Test refcounting interactions with g_dir_close()
730s ok 3 /dir/refcounting
730s # End of dir tests
730s # Running test: glib/threadtests.test
730s TAP version 14
730s # random seed: R02S4d346ed991fabea0d52c8495e2669914
730s 1..5
730s # Start of GObject tests
730s ok 1 /GObject/threaded-object-init
734s ok 2 /GObject/threaded-weak-ref
734s # slow test /GObject/threaded-weak-ref executed in 4.01 secs
734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
734s # /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
734s ok 3 /GObject/threaded-toggle-notify
734s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
734s # Start of threaded-weak-ref tests
734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
734s # /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.
734s ok 5 /GObject/threaded-weak-ref/on-finalization
734s # End of threaded-weak-ref tests
734s ok - glib/threadtests.test
734s # Running test: glib/mimeapps.test
734s # End of GObject tests
734s TAP version 14
734s # random seed: R02S84390804453409fadbb63aaa7c2bc52a
734s 1..7
734s # Start of appinfo tests
734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/home
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/cache
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/system-config2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/config
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/system-data2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/state
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/runtime
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/system-data1/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/system-data1/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/myapp.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/myapp2.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/myapp3.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/myapp4.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/myapp5.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/nosuchapp.desktop'
734s # removing '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/all/.dirs/data/applications/mimeinfo.cache'
734s ok 1 /appinfo/all
734s # Start of mime tests
734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/home
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/cache
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/system-config2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/system-data2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/state
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/runtime
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/system-data1/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/myapp.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/myapp2.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/myapp3.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/myapp4.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/myapp5.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop'
734s # removing '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache'
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CIY552/appinfo/all/.dirs/config to /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config
734s ok 2 /appinfo/mime/api
734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/home
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/cache
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/system-config2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/config
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/system-data2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/state
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/runtime
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/system-data1/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/myapp.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/myapp2.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/myapp3.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/myapp4.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/myapp5.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop'
734s # removing '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache'
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/config
734s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CIY552/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/config
734s ok 3 /appinfo/mime/default
734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/home
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/cache
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/system-config2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/system-data2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/state
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/runtime
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/system-data1/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/myapp.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/myapp2.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/myapp3.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/myapp4.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/myapp5.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop'
734s # removing '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache'
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CIY552/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config
734s ok 4 /appinfo/mime/file
734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/home
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/cache
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/system-config2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/config
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/system-data2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/state
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/runtime
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/system-data1/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
734s # removing '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache'
734s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CIY552/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/config
734s ok 5 /appinfo/mime/scheme-handler
734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/home
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/cache
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/system-config2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/system-data2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/state
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/runtime
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/system-data1/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop'
734s # removing '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache'
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CIY552/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config
734s ok 6 /appinfo/mime/default-last-used
734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/home
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/cache
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/system-config2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/config
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/system-data2
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/state
734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/runtime
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
734s # removing '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
734s # creating '/tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
734s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CIY552/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_CIY552/appinfo/mime/ignore-nonexisting/.dirs/config
734s ok 7 /appinfo/mime/ignore-nonexisting
734s # End of mime tests
734s # End of appinfo tests
734s ok - glib/mimeapps.test
734s # Running test: glib/date.test
734s TAP version 14
734s # random seed: R02S29726b9deac986c832c49ccffbbb827b
734s 1..121
734s # Start of date tests
734s ok 1 /date/basic
734s ok 2 /date/empty
734s ok 3 /date/dmy
734s ok 4 /date/julian
734s ok 5 /date/compare
734s ok 6 /date/dates
734s ok 7 /date/strftime
734s ok 8 /date/two-digit-years
734s ok 9 /date/parse
734s ok 10 /date/parse_locale_change # SKIP locale th_TH not available
734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550
734s ok 11 /date/month_substring
734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206
734s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names
734s ok 13 /date/clamp
734s ok 14 /date/order
734s ok 15 /date/copy
734s # Vector 0: 0000-00-00, invalid
734s # Vector 1: 0001-01-01, valid
734s # Vector 2: 0000-01-01, invalid
734s # Vector 3: 2000-02-30, invalid
734s # Vector 4: 2000-02-29, valid
734s # Vector 5: 2001-02-29, invalid
734s # Vector 6: 65535-01-01, valid
734s ok 16 /date/valid-dmy
734s # Start of parse tests
734s # Test 0
734s # Test 1
734s ok 17 /date/parse/invalid
734s # End of parse tests
734s # Start of year tests
734s ok 18 /date/year/1
734s ok 19 /date/year/2
734s ok 20 /date/year/3
734s ok 21 /date/year/4
734s ok 22 /date/year/5
734s ok 23 /date/year/6
734s ok 24 /date/year/7
734s ok 25 /date/year/8
734s ok 26 /date/year/9
734s ok 27 /date/year/10
734s ok 28 /date/year/11
734s ok 29 /date/year/12
734s ok 30 /date/year/13
734s ok 31 /date/year/14
734s ok 32 /date/year/98
734s ok 33 /date/year/99
734s ok 34 /date/year/100
734s ok 35 /date/year/101
734s ok 36 /date/year/102
734s ok 37 /date/year/103
734s ok 38 /date/year/397
734s ok 39 /date/year/398
734s ok 40 /date/year/399
734s ok 41 /date/year/400
734s ok 42 /date/year/401
734s ok 43 /date/year/402
734s ok 44 /date/year/403
734s ok 45 /date/year/404
734s ok 46 /date/year/405
734s ok 47 /date/year/406
734s ok 48 /date/year/1598
734s ok 49 /date/year/1599
734s ok 50 /date/year/1600
734s ok 51 /date/year/1601
734s ok 52 /date/year/1602
734s ok 53 /date/year/1650
734s ok 54 /date/year/1651
734s ok 55 /date/year/1897
734s ok 56 /date/year/1898
734s ok 57 /date/year/1899
734s ok 58 /date/year/1900
734s ok 59 /date/year/1901
734s ok 60 /date/year/1902
734s ok 61 /date/year/1903
735s ok 62 /date/year/1961
735s ok 63 /date/year/1962
735s ok 64 /date/year/1963
735s ok 65 /date/year/1964
735s ok 66 /date/year/1965
735s ok 67 /date/year/1967
735s ok 68 /date/year/1968
735s # Executing: glib/date.test
735s ok 69 /date/year/1969
735s ok 70 /date/year/1970
735s ok 71 /date/year/1971
735s ok 72 /date/year/1972
735s ok 73 /date/year/1973
735s ok 74 /date/year/1974
735s ok 75 /date/year/1975
735s ok 76 /date/year/1976
735s ok 77 /date/year/1977
735s ok 78 /date/year/1978
735s ok 79 /date/year/1979
735s ok 80 /date/year/1980
735s ok 81 /date/year/1981
735s ok 82 /date/year/1982
735s ok 83 /date/year/1983
735s ok 84 /date/year/1984
735s ok 85 /date/year/1985
735s ok 86 /date/year/1986
735s ok 87 /date/year/1987
735s ok 88 /date/year/1988
735s ok 89 /date/year/1989
735s ok 90 /date/year/1990
735s ok 91 /date/year/1991
735s ok 92 /date/year/1992
735s ok 93 /date/year/1993
735s ok 94 /date/year/1994
735s ok 95 /date/year/1995
735s ok 96 /date/year/1996
735s ok 97 /date/year/1997
735s ok 98 /date/year/1998
735s ok 99 /date/year/1999
735s ok 100 /date/year/2000
735s ok 101 /date/year/2001
735s ok 102 /date/year/2002
735s ok 103 /date/year/2003
735s ok 104 /date/year/2004
735s ok 105 /date/year/2005
735s ok 106 /date/year/2006
735s ok 107 /date/year/2007
735s ok 108 /date/year/2008
735s ok 109 /date/year/2009
735s ok 110 /date/year/2010
735s ok 111 /date/year/2011
735s ok 112 /date/year/2012
735s ok 113 /date/year/3000
735s ok 114 /date/year/3001
735s ok 115 /date/year/3002
735s ok 116 /date/year/3998
735s ok 117 /date/year/3999
735s ok 118 /date/year/4000
735s ok 119 /date/year/4001
735s ok 120 /date/year/4002
735s ok - glib/date.test
735s ok 121 /date/year/4003
735s # End of year tests
735s # End of date tests
735s # Running test: glib/rand.test
735s TAP version 14
735s # random seed: R02Scb7bf7e86d665c6c562dfd4dfcc5a89e
735s 1..2
735s # Start of rand tests
735s ok 1 /rand/test-rand
735s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560
735s ok 2 /rand/double-range
735s # End of rand tests
735s ok - glib/rand.test
735s # Running test: glib/notify-init.test
735s TAP version 14
735s # random seed: R02S6de4f951faf5c1b8efb2d477769545d1
735s 1..1
735s # Start of properties tests
735s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works
735s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
735s ok 1 /properties/notify-in-init
735s # End of properties tests
735s ok - glib/notify-init.test
735s # Running test: glib/gdbus-proxy-unique-name.test
735s TAP version 14
735s # random seed: R02S3596da0958a79b181c42280c46f3f289
735s 1..1
735s # Start of gdbus tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_JWA152/gdbus/proxy-unique-name/.dirs/runtime
735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
735s ok 1 /gdbus/proxy-unique-name
735s # End of gdbus tests
735s ok - glib/gdbus-proxy-unique-name.test
735s # Running test: glib/resolver-parsing.test
735s TAP version 14
735s # random seed: R02S29626bff68fb7dee046ddd1430921019
735s 1..21
735s # Start of gresolver tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/invalid-header/.dirs/runtime
735s ok 1 /gresolver/invalid-header
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/record-ownership/.dirs/runtime
735s ok 2 /gresolver/record-ownership
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/unknown-record-type/.dirs/runtime
735s # GLib-GIO-DEBUG: Unrecognized DNS record type 20
735s ok 3 /gresolver/unknown-record-type
735s # Start of mx tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/valid/.dirs/runtime
735s ok 4 /gresolver/mx/valid
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/.dirs/runtime
735s ok 5 /gresolver/mx/invalid
735s # Start of invalid tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short/.dirs/runtime
735s ok 6 /gresolver/mx/invalid/too-short
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/mx/invalid/too-short2/.dirs/runtime
735s ok 7 /gresolver/mx/invalid/too-short2
735s # End of invalid tests
735s # End of mx tests
735s # Start of ns tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/valid/.dirs/runtime
735s ok 8 /gresolver/ns/valid
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/ns/invalid/.dirs/runtime
735s ok 9 /gresolver/ns/invalid
735s # End of ns tests
735s # Start of soa tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/valid/.dirs/runtime
735s ok 10 /gresolver/soa/valid
735s # Start of invalid tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/mname/.dirs/runtime
735s ok 11 /gresolver/soa/invalid/mname
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/rname/.dirs/runtime
735s ok 12 /gresolver/soa/invalid/rname
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/soa/invalid/too-short/.dirs/runtime
735s ok 13 /gresolver/soa/invalid/too-short
735s # End of invalid tests
735s # End of soa tests
735s # Start of srv tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/valid/.dirs/runtime
735s ok 14 /gresolver/srv/valid
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/.dirs/runtime
735s ok 15 /gresolver/srv/invalid
735s # Start of invalid tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short/.dirs/runtime
735s ok 16 /gresolver/srv/invalid/too-short
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/srv/invalid/too-short2/.dirs/runtime
735s ok 17 /gresolver/srv/invalid/too-short2
735s # End of invalid tests
735s # End of srv tests
735s # Start of txt tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/.dirs/runtime
735s ok 18 /gresolver/txt/valid
735s # Start of valid tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/valid/multiple-strings/.dirs/runtime
735s ok 19 /gresolver/txt/valid/multiple-strings
735s # End of valid tests
735s # Start of invalid tests
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/empty/.dirs/runtime
735s ok 20 /gresolver/txt/invalid/empty
735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/home
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/cache
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/system-config2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/config
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/system-data2
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/data
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/state
735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_OHIX52/gresolver/txt/invalid/overflow/.dirs/runtime
735s ok 21 /gresolver/txt/invalid/overflow
735s # End of invalid tests
735s # End of txt tests
735s # End of gresolver tests
735s TAP version 14
735s # random seed: R02Sd243bef960a2ba13b3cf60a9b8e4888a
735s 1..4
735s # Start of C tests
735s ok 1 /C/standard-11
735s # End of C tests
735s # Start of alignof tests
735s ok 2 /alignof/fallback
735s # End of alignof tests
735s # Start of assert tests
735s ok 3 /assert/static
735s # End of assert tests
735s # Start of struct tests
735s ok 4 /struct/sizeof_member
735s # End of struct tests
735s TAP version 14
735s # random seed: R02S19f1c9a180a3bc42cb64d06690e484d0
735s 1..3
735s # Start of private tests
735s ok 1 /private/instance
735s ok 2 /private/derived-instance
735s ok 3 /private/mixed-derived-instance
735s # End of private tests
735s TAP version 14
735s ok - glib/resolver-parsing.test
735s # Running test: glib/macros-c-11.test
735s ok - glib/macros-c-11.test
735s # Running test: glib/gobject-private.test
735s ok - glib/gobject-private.test
735s # Running test: glib/utils-c-99.test
735s # random seed: R02Se77cf14b6e59a4e3a06a3686f0c3ddee
735s 1..41
735s # Start of utils tests
735s ok 1 /utils/language-names
735s ok 2 /utils/locale-variants
735s ok 3 /utils/version
735s ok 4 /utils/appname
735s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
735s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
735s ok 5 /utils/prgname-thread-safety
735s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
735s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
735s ok 6 /utils/tmpdir
735s ok 7 /utils/basic_bits
735s ok 8 /utils/bits
735s ok 9 /utils/swap
735s ok 10 /utils/find-program
735s ok 11 /utils/find-program-for-path
735s ok 12 /utils/debug
735s ok 13 /utils/codeset
735s ok 14 /utils/codeset2
735s ok 15 /utils/console-charset
735s ok 16 /utils/gettext
735s ok 17 /utils/username
735s ok 18 /utils/realname
735s ok 19 /utils/hostname
735s ok 20 /utils/xdgdirs
735s ok 21 /utils/specialdir
735s # NAME: Ubuntu
735s ok 22 /utils/os-info
735s ok 23 /utils/clear-pointer
735s ok 24 /utils/clear-pointer-cast
735s ok 25 /utils/take-pointer
735s ok 26 /utils/clear-source
735s ok 27 /utils/misc-mem
735s # /utils/aligned-mem summary: Aligned memory allocator
735s # Alignment must not be zero
735s # Alignment must be a power of two
735s # Alignment must be a multiple of sizeof(void*)
735s ok 28 /utils/aligned-mem
735s # /utils/free-sized summary: Check that g_free_sized() works
735s ok 29 /utils/free-sized
735s ok 30 /utils/nullify
735s ok 31 /utils/atexit
735s ok 32 /utils/check-setuid
735s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
735s ok 33 /utils/int-limits
735s ok 34 /utils/clear-list
735s ok 35 /utils/clear-slist
735s ok 36 /utils/steal-handle-id
735s # Start of specialdir tests
735s ok 37 /utils/specialdir/desktop
735s # End of specialdir tests
735s # Start of clear-pointer tests
735s ok 38 /utils/clear-pointer/side-effects
735s # End of clear-pointer tests
735s # Start of aligned-mem tests
735s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
735s ok 39 /utils/aligned-mem/alignment
735s ok - glib/utils-c-99.test
735s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
735s ok 40 /utils/aligned-mem/zeroed
735s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
735s ok 41 /utils/aligned-mem/free-sized
735s # Start of subprocess tests
735s # End of subprocess tests
735s # End of aligned-mem tests
735s # End of utils tests
735s # Running test: glib/markup.test
735s ok - glib/markup.test
735s TAP version 14
735s # random seed: R02Sbeb707543af5ebbd1f1bf23ac2ff0ba0
735s 1..1
735s # Start of markup tests
735s ok 1 /markup/stack
735s # End of markup tests
735s # Running test: glib/genmarshal.py.test
735s TAP version 13
735s ok 1 __main__.TestGenmarshal.test_empty_list
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmphzyq0q7b
735s # /tmp/tmphzyq0q7b/tmpsceeoxsl.list:
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphzyq0q7b/tmpsceeoxsl.list', '--header', '--quiet']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s #
735s # #include
735s #
735s # G_BEGIN_DECLS
735s #
735s #
735s # G_END_DECLS
735s #
735s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
735s # Error:
735s #
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphzyq0q7b/tmpsceeoxsl.list', '--body', '--quiet']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #include
735s #
735s # #ifdef G_ENABLE_DEBUG
735s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
735s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
735s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
735s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
735s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
735s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
735s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
735s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
735s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
735s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
735s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
735s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
735s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
735s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
735s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
735s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
735s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
735s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
735s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
735s # #else /* !G_ENABLE_DEBUG */
735s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
735s # * Do not access GValues directly in your code. Instead, use the
735s # * g_value_get_*() functions
735s # */
735s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
735s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
735s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
735s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
735s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
735s # #endif /* !G_ENABLE_DEBUG */
735s # Error:
735s ok 2 __main__.TestGenmarshal.test_help
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmpzd4olib8
735s # Running: ['/usr/bin/glib-genmarshal', '--help']
735s # Return code: 0
735s # Output:
735s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source]
735s # [--internal] [--valist-marshallers] [-v]
735s # [--g-fatal-warnings] [--include-header [HEADER]]
735s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES]
735s # [--prototypes] [--header] [--body] [--stdinc |
735s # --nostdinc] [--quiet | --verbose]
735s # [FILE ...]
735s #
735s # Generate signal marshallers for GObject
735s #
735s # positional arguments:
735s # FILE Files with lists of marshallers to generate, or "-"
735s # for standard input
735s #
735s # options:
735s # -h, --help show this help message and exit
735s # --prefix STRING Specify marshaller prefix
735s # --output FILE Write output into the specified file
735s # --skip-source Skip source location comments
735s # --internal Mark generated functions as internal
735s # --valist-marshallers Generate va_list marshallers
735s # -v, --version Print version information, and exit
735s # --g-fatal-warnings Make warnings fatal
735s # --include-header [HEADER]
735s # Include the specified header in the body
735s # --pragma-once Use "pragma once" as the inclusion guard
735s # -D CPP_DEFINES Pre-processor define
735s # -U CPP_UNDEFINES Pre-processor undefine
735s # --prototypes Generate the marshallers prototype in the C code
735s # --header Generate C headers
735s # --body Generate C code
735s # --stdinc Include standard marshallers
735s # --nostdinc Use standard marshallers
735s # --quiet Only print warnings and errors
735s # --verbose Be verbose, and include debugging information
735s # Error:
735s ok 3 __main__.TestGenmarshal.test_no_args
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmppr46xtwx
735s # Running: ['/usr/bin/glib-genmarshal']
735s # Return code: 0
735s # Output:
735s #
735s # Error:
735s ok 4 __main__.TestGenmarshal.test_void_boolean
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmp37mpm4fl
735s # /tmp/tmp37mpm4fl/tmpni0ai2ii.list: VOID:BOOLEAN
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp37mpm4fl/tmpni0ai2ii.list', '--header', '--quiet']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s #
735s # #include
735s #
735s # G_BEGIN_DECLS
735s #
735s # /* VOID:BOOLEAN (/tmp/tmp37mpm4fl/tmpni0ai2ii.list:1) */
735s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
735s #
735s #
735s # G_END_DECLS
735s #
735s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
735s # Error:
735s #
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp37mpm4fl/tmpni0ai2ii.list', '--body', '--quiet']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #include
735s #
735s # #ifdef G_ENABLE_DEBUG
735s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
735s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
735s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
735s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
735s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
735s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
735s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
735s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
735s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
735s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
735s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
735s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
735s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
735s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
735s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
735s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
735s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
735s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
735s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
735s # #else /* !G_ENABLE_DEBUG */
735s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
735s # * Do not access GValues directly in your code. Instead, use the
735s # * g_value_get_*() functions
735s # */
735s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
735s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
735s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
735s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
735s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
735s # #endif /* !G_ENABLE_DEBUG */
735s # Error:
735s ok 5 __main__.TestGenmarshal.test_void_boolean_int64
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmp8u5xzxz4
735s # /tmp/tmp8u5xzxz4/tmpz7q1dno3.list: VOID:BOOLEAN,INT64
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8u5xzxz4/tmpz7q1dno3.list', '--header', '--quiet']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s #
735s # #include
735s #
735s # G_BEGIN_DECLS
735s #
735s # /* VOID:BOOLEAN,INT64 (/tmp/tmp8u5xzxz4/tmpz7q1dno3.list:1) */
735s # extern
735s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
735s # GValue *return_value,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint,
735s # gpointer marshal_data);
735s #
735s #
735s # G_END_DECLS
735s #
735s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
735s # Error:
735s #
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8u5xzxz4/tmpz7q1dno3.list', '--body', '--quiet']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #include
735s #
735s # #ifdef G_ENABLE_DEBUG
735s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
735s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
735s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
735s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
735s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
735s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
735s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
735s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
735s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
735s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
735s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
735s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
735s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
735s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
735s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
735s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
735s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
735s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
735s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
735s # #else /* !G_ENABLE_DEBUG */
735s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
735s # * Do not access GValues directly in your code. Instead, use the
735s # * g_value_get_*() functions
735s # */
735s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
735s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
735s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
735s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
735s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
735s # #endif /* !G_ENABLE_DEBUG */
735s #
735s # /* VOID:BOOLEAN,INT64 (/tmp/tmp8u5xzxz4/tmpz7q1dno3.list:1) */
735s # void
735s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
735s # GValue *return_value G_GNUC_UNUSED,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint G_GNUC_UNUSED,
735s # gpointer marshal_data)
735s # {
735s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1,
735s # gboolean arg1,
735s # gint64 arg2,
735s # gpointer data2);
735s # GCClosure *cc = (GCClosure *) closure;
735s # gpointer data1, data2;
735s # GMarshalFunc_VOID__BOOLEAN_INT64 callback;
735s #
735s # g_return_if_fail (n_param_values == 3);
735s #
735s # if (G_CCLOSURE_SWAP_DATA (closure))
735s # {
735s # data1 = closure->data;
735s # data2 = g_value_peek_pointer (param_values + 0);
735s # }
735s # else
735s # {
735s # data1 = g_value_peek_pointer (param_values + 0);
735s # data2 = closure->data;
735s # }
735s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback);
735s #
735s # callback (data1,
735s # g_marshal_value_peek_boolean (param_values + 1),
735s # g_marshal_value_peek_int64 (param_values + 2),
735s # data2);
735s # }
735s # Error:
735s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmp23bfxl1c
735s # /tmp/tmp23bfxl1c/tmpdkib2cwe.list: VOID:PARAM
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp23bfxl1c/tmpdkib2cwe.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s #
735s # G_BEGIN_DECLS
735s #
735s # /* VOID:PARAM (/tmp/tmp23bfxl1c/tmpdkib2cwe.list:1) */
735s # extern
735s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
735s # GValue *return_value,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint,
735s # gpointer marshal_data);
735s # extern
735s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
735s # GValue *return_value,
735s # gpointer instance,
735s # va_list args,
735s # gpointer marshal_data,
735s # int n_params,
735s # GType *param_types);
735s #
735s #
735s # G_END_DECLS
735s #
735s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
735s # Error:
735s #
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp23bfxl1c/tmpdkib2cwe.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifdef G_ENABLE_DEBUG
735s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
735s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
735s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
735s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
735s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
735s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
735s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
735s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
735s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
735s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
735s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
735s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
735s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
735s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
735s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
735s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
735s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
735s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
735s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
735s # #else /* !G_ENABLE_DEBUG */
735s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
735s # * Do not access GValues directly in your code. Instead, use the
735s # * g_value_get_*() functions
735s # */
735s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
735s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
735s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
735s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
735s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
735s # #endif /* !G_ENABLE_DEBUG */
735s #
735s # /* VOID:PARAM (/tmp/tmp23bfxl1c/tmpdkib2cwe.list:1) */
735s # void
735s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
735s # GValue *return_value G_GNUC_UNUSED,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint G_GNUC_UNUSED,
735s # gpointer marshal_data)
735s # {
735s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
735s # gpointer arg1,
735s # gpointer data2);
735s # GCClosure *cc = (GCClosure *) closure;
735s # gpointer data1, data2;
735s # GMarshalFunc_VOID__PARAM callback;
735s #
735s # g_return_if_fail (n_param_values == 2);
735s #
735s # if (G_CCLOSURE_SWAP_DATA (closure))
735s # {
735s # data1 = closure->data;
735s # data2 = g_value_peek_pointer (param_values + 0);
735s # }
735s # else
735s # {
735s # data1 = g_value_peek_pointer (param_values + 0);
735s # data2 = closure->data;
735s # }
735s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
735s #
735s # callback (data1,
735s # g_marshal_value_peek_param (param_values + 1),
735s # data2);
735s # }
735s #
735s # void
735s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
735s # GValue *return_value G_GNUC_UNUSED,
735s # gpointer instance,
735s # va_list args,
735s # gpointer marshal_data,
735s # int n_params,
735s # GType *param_types)
735s # {
735s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
735s # gpointer arg1,
735s # gpointer data2);
735s # GCClosure *cc = (GCClosure *) closure;
735s # gpointer data1, data2;
735s # GMarshalFunc_VOID__PARAM callback;
735s # gpointer arg0;
735s # va_list args_copy;
735s #
735s # va_copy (args_copy, args);
735s # arg0 = (gpointer) va_arg (args_copy, gpointer);
735s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
735s # arg0 = g_param_spec_ref (arg0);
735s # va_end (args_copy);
735s #
735s #
735s # if (G_CCLOSURE_SWAP_DATA (closure))
735s # {
735s # data1 = closure->data;
735s # data2 = instance;
735s # }
735s # else
735s # {
735s # data1 = instance;
735s # data2 = closure->data;
735s # }
735s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
735s #
735s # callback (data1,
735s # arg0,
735s # data2);
735s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
735s # g_param_spec_unref (arg0);
735s # }
735s # Error:
735s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmpw7d249tv
735s # /tmp/tmpw7d249tv/tmpvlyw17wa.list: VOID:STRING
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw7d249tv/tmpvlyw17wa.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s #
735s # G_BEGIN_DECLS
735s #
735s # /* VOID:STRING (/tmp/tmpw7d249tv/tmpvlyw17wa.list:1) */
735s # extern
735s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
735s # GValue *return_value,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint,
735s # gpointer marshal_data);
735s # extern
735s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
735s # GValue *return_value,
735s # gpointer instance,
735s # va_list args,
735s # gpointer marshal_data,
735s # int n_params,
735s # GType *param_types);
735s #
735s #
735s # G_END_DECLS
735s #
735s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
735s # Error:
735s #
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw7d249tv/tmpvlyw17wa.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifdef G_ENABLE_DEBUG
735s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
735s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
735s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
735s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
735s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
735s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
735s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
735s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
735s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
735s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
735s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
735s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
735s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
735s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
735s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
735s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
735s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
735s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
735s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
735s # #else /* !G_ENABLE_DEBUG */
735s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
735s # * Do not access GValues directly in your code. Instead, use the
735s # * g_value_get_*() functions
735s # */
735s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
735s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
735s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
735s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
735s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
735s # #endif /* !G_ENABLE_DEBUG */
735s #
735s # /* VOID:STRING (/tmp/tmpw7d249tv/tmpvlyw17wa.list:1) */
735s # void
735s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
735s # GValue *return_value G_GNUC_UNUSED,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint G_GNUC_UNUSED,
735s # gpointer marshal_data)
735s # {
735s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
735s # gpointer arg1,
735s # gpointer data2);
735s # GCClosure *cc = (GCClosure *) closure;
735s # gpointer data1, data2;
735s # GMarshalFunc_VOID__STRING callback;
735s #
735s # g_return_if_fail (n_param_values == 2);
735s #
735s # if (G_CCLOSURE_SWAP_DATA (closure))
735s # {
735s # data1 = closure->data;
735s # data2 = g_value_peek_pointer (param_values + 0);
735s # }
735s # else
735s # {
735s # data1 = g_value_peek_pointer (param_values + 0);
735s # data2 = closure->data;
735s # }
735s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
735s #
735s # callback (data1,
735s # g_marshal_value_peek_string (param_values + 1),
735s # data2);
735s # }
735s #
735s # void
735s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
735s # GValue *return_value G_GNUC_UNUSED,
735s # gpointer instance,
735s # va_list args,
735s # gpointer marshal_data,
735s # int n_params,
735s # GType *param_types)
735s # {
735s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
735s # gpointer arg1,
735s # gpointer data2);
735s # GCClosure *cc = (GCClosure *) closure;
735s # gpointer data1, data2;
735s # GMarshalFunc_VOID__STRING callback;
735s # gpointer arg0;
735s # va_list args_copy;
735s #
735s # va_copy (args_copy, args);
735s # arg0 = (gpointer) va_arg (args_copy, gpointer);
735s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
735s # arg0 = g_strdup (arg0);
735s # va_end (args_copy);
735s #
735s #
735s # if (G_CCLOSURE_SWAP_DATA (closure))
735s # {
735s # data1 = closure->data;
735s # data2 = instance;
735s # }
735s # else
735s # {
735s # data1 = instance;
735s # data2 = closure->data;
735s # }
735s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
735s #
735s # callback (data1,
735s # arg0,
735s # data2);
735s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
735s # g_free (arg0);
735s # }
735s # Error:
735s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller
735s # glib-genmarshal: /usr/bin/glib-genmarshal
735s # tmpdir: /tmp/tmpd1nxa5dn
735s # /tmp/tmpd1nxa5dn/tmplwv560oz.list: VOID:VARIANT
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpd1nxa5dn/tmplwv560oz.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
735s #
735s # G_BEGIN_DECLS
735s #
735s # /* VOID:VARIANT (/tmp/tmpd1nxa5dn/tmplwv560oz.list:1) */
735s # extern
735s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
735s # GValue *return_value,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint,
735s # gpointer marshal_data);
735s # extern
735s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
735s # GValue *return_value,
735s # gpointer instance,
735s # va_list args,
735s # gpointer marshal_data,
735s # int n_params,
735s # GType *param_types);
735s #
735s #
735s # G_END_DECLS
735s #
735s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
735s # Error:
735s #
735s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpd1nxa5dn/tmplwv560oz.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
735s # Return code: 0
735s # Output:
735s # /* 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. */
735s # #ifdef G_ENABLE_DEBUG
735s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
735s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
735s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
735s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
735s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
735s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
735s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
735s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
735s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
735s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
735s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
735s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
735s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
735s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
735s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
735s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
735s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
735s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
735s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
735s # #else /* !G_ENABLE_DEBUG */
735s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
735s # * Do not access GValues directly in your code. Instead, use the
735s # * g_value_get_*() functions
735s # */
735s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
735s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
735s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
735s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
735s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
735s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
735s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
735s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
735s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
735s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
735s # #endif /* !G_ENABLE_DEBUG */
735s #
735s # /* VOID:VARIANT (/tmp/tmpd1nxa5dn/tmplwv560oz.list:1) */
735s # void
735s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
735s # GValue *return_value G_GNUC_UNUSED,
735s # guint n_param_values,
735s # const GValue *param_values,
735s # gpointer invocation_hint G_GNUC_UNUSED,
735s # gpointer marshal_data)
735s # {
735s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
735s # gpointer arg1,
735s # gpointer data2);
735s # GCClosure *cc = (GCClosure *) closure;
735s # gpointer data1, data2;
735s # GMarshalFunc_VOID__VARIANT callback;
735s #
735s # g_return_if_fail (n_param_values == 2);
735s #
735s # if (G_CCLOSURE_SWAP_DATA (closure))
735s # {
735s # data1 = closure->data;
735s # data2 = g_value_peek_pointer (param_values + 0);
735s # }
735s # else
735s # {
735s # data1 = g_value_peek_pointer (param_values + 0);
735s # data2 = closure->data;
735s # }
735s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
735s #
735s # callback (data1,
735s # g_marshal_value_peek_variant (param_values + 1),
735s # data2);
735s # }
735s #
735s # void
735s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
735s # GValue *return_value G_GNUC_UNUSED,
735s # gpointer instance,
735s # va_list args,
735s # gpointer marshal_data,
735s # int n_params,
735s # GType *param_types)
735s # {
735s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
735s # gpointer arg1,
735s # gpointer data2);
735s # GCClosure *cc = (GCClosure *) closure;
735s # gpointer data1, data2;
735s # GMarshalFunc_VOID__VARIANT callback;
735s # gpointer arg0;
735s # va_list args_copy;
735s #
735s # va_copy (args_copy, args);
735s # arg0 = (gpointer) va_arg (args_copy, gpointer);
735s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
735s # arg0 = g_variant_ref_sink (arg0);
735s # va_end (args_copy);
735s #
735s #
735s # if (G_CCLOSURE_SWAP_DATA (closure))
735s # {
735s # data1 = closure->data;
735s # data2 = instance;
735s # }
735s # else
735s # {
735s # data1 = instance;
735s # data2 = closure->data;
735s # }
735s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
735s #
735s # callback (data1,
735s # arg0,
735s # data2);
735s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
735s # g_variant_unref (arg0);
735s # }
735s # Error:
735s 1..8
735s ok - glib/genmarshal.py.test
735s # Running test: glib/memory-monitor.test
735s TAP version 14
735s # random seed: R02Sb1ad154f8367de5acf9f225eee7832bd
735s 1..1
735s # Start of memory-monitor tests
735s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals
736s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor?
736s ok 1 /memory-monitor/default
736s # End of memory-monitor tests
736s ok - glib/memory-monitor.test
736s # Running test: glib/unix-streams.test
736s TAP version 14
736s # random seed: R02Sd81ead33e2f939d217658aaa0654a13e
736s 1..9
736s # Start of unix-streams tests
736s ok 1 /unix-streams/basic
736s ok 2 /unix-streams/pipe-io-test
736s # slow test /unix-streams/pipe-io-test executed in 0.50 secs
737s ok 3 /unix-streams/nonblocking-io-test
737s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs
737s ok 4 /unix-streams/read_write
737s ok 5 /unix-streams/read_writev
737s ok 6 /unix-streams/write-wouldblock
737s ok 7 /unix-streams/writev-wouldblock
737s ok 8 /unix-streams/write-async-wouldblock
737s ok 9 /unix-streams/writev-async-wouldblock
737s # End of unix-streams tests
737s ok - glib/unix-streams.test
737s # Running test: glib/memory-output-stream.test
737s TAP version 14
737s # random seed: R02Sf361b36f6210ae80964887ff2f51c75f
737s 1..10
737s # Start of memory-output-stream tests
737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423
737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080
737s ok 1 /memory-output-stream/truncate
737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459
737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461
737s ok 2 /memory-output-stream/get-data-size
737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733
737s ok 3 /memory-output-stream/properties
737s ok 4 /memory-output-stream/write-bytes
737s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471
737s ok 5 /memory-output-stream/write-null
737s ok 6 /memory-output-stream/writev
737s ok 7 /memory-output-stream/writev_nonblocking
737s ok 8 /memory-output-stream/steal_as_bytes
737s # Start of seek tests
737s ok 9 /memory-output-stream/seek/fixed
737s ok 10 /memory-output-stream/seek/resizable
737s # End of seek tests
737s # End of memory-output-stream tests
737s TAP version 14
737s # random seed: R02S4659cd3e5df60443f36539b74bc820bf
737s 1..7
737s # Start of interface tests
737s # Start of properties tests
737s ok 1 /interface/properties/set
737s ok 2 /interface/properties/notify
737s ok 3 /interface/properties/find-overridden
737s ok 4 /interface/properties/list-overridden
737s ok 5 /interface/properties/find-interface
737s ok 6 /interface/properties/list-interface
737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738
737s ok 7 /interface/properties/not-overridden
737s # End of properties tests
737s # End of interface tests
737s TAP version 14
737s # random seed: R02Sd1004f19427c09e0ab40e2d8fd969e70
737s 1..2
737s # Start of thread tests
737s # Start of deprecated tests
737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/home
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/cache
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_TQGT52/thread/deprecated/init/.dirs/system-config2
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/config
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_TQGT52/thread/deprecated/init/.dirs/system-data2
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/data
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/state
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_TQGT52/thread/deprecated/init/.dirs/runtime
737s ok 1 /thread/deprecated/init
737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache
737s ok - glib/memory-output-stream.test
737s # Running test: glib/ifaceproperties.test
737s ok - glib/ifaceproperties.test
737s # Running test: glib/init.test
737s ok - glib/init.test
737s # Running test: glib/socket-service.test
737s ok - glib/socket-service.test
737s # Running test: glib/closure-refcount.test
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state
737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_TQGT52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime
737s ok 2 /thread/deprecated/init-with-errorcheck-mutexes
737s # End of deprecated tests
737s # End of thread tests
737s TAP version 14
737s # random seed: R02S9d22441bf2ba843f97d0decfd31d1f67
737s 1..4
737s # Start of socket-service tests
737s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
737s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3008f140 and GSocketClientAsyncConnectData 0x2aa30089bb0
737s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
737s ok 1 /socket-service/start-stop
737s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa300930e0 and GSocketClientAsyncConnectData 0x2aa30092d80
737s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
737s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
737s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa30093060 for GSocketClientAsyncConnectData 0x2aa30089bb0
737s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
737s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
737s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
737s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
737s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
737s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa30093060 for GSocketClientAsyncConnectData 0x2aa30092d80
737s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
737s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
737s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
737s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
737s ok 2 /socket-service/read_write_async
737s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa300930e0 and GSocketClientAsyncConnectData 0x2aa300970f0
737s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
737s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
737s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa300965f0 for GSocketClientAsyncConnectData 0x2aa300970f0
737s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
737s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
737s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
737s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
737s ok 3 /socket-service/read_writev_async
737s # Start of threaded tests
737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570
737s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa30094730 and GSocketClientAsyncConnectData 0x2aa30092d80
737s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
737s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
737s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa30097ab0 for GSocketClientAsyncConnectData 0x2aa30092d80
737s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
737s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
737s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
737s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
737s ok 4 /socket-service/threaded/712570
737s # End of threaded tests
737s # End of socket-service tests
737s TAP version 14
737s # random seed: R02S69e8796f590103797b4e08dd7c3bc8d7
737s 1..1
737s # Start of closure tests
737s # Init 0x2aa06d04d50
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from thread1
737s # Yielding from thread2
737s # Yielding from thread1
737s # Yielding from thread2
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from main thread
737s # Yielding from thread2
737s # Yielding from thread1
737s # Yielding from main thread
737s # Yielding from main thread
738s # Yielding from thread2
738s # Yielding from thread1
738s # Yielding from thread1
738s # Yielding from thread1
738s # Yielding from thread2
738s # Yielding from thread2
738s # Yielding from thread2
738s # Yielding from thread2
738s # Yielding from thread2
738s # Yielding from thread2
738s # Yielding from thread1
738s # Yielding from thread2
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from thread1
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from thread2
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from thread1
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from thread2
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from thread1
738s # Yielding from main thread
738s # Yielding from thread2
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from thread1
738s # Yielding from main thread
738s # Yielding from thread2
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from main thread
738s # Yielding from thread1
738s # Yielding from main thread
738s # Yielding from thread2
738s # Yielding from thread1
738s # Yielding from main thread
738s # Stopping
738s # Stopped
738s ok 1 /closure/refcount
738s # slow test /closure/refcount executed in 1.68 secs
738s # End of closure tests
738s ok - glib/closure-refcount.test
738s # Running test: glib/gdbus-message.test
738s TAP version 14
738s # random seed: R02S18fae178d655db99336905751282b980
738s 1..3
738s # Start of gdbus tests
738s # Start of message tests
738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/home
738s ok - glib/gdbus-message.test
738s # Running test: glib/glistmodel.test
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/cache
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/system-config2
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/config
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/system-data2
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/data
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/state
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0MI452/gdbus/message/lock/.dirs/runtime
738s ok 1 /gdbus/message/lock
738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/home
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/cache
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/system-config2
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/config
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/system-data2
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/data
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/state
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0MI452/gdbus/message/copy/.dirs/runtime
738s ok 2 /gdbus/message/copy
738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/home
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/cache
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/system-config2
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/config
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/system-data2
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/data
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/state
738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0MI452/gdbus/message/bytes-needed/.dirs/runtime
738s # Vector: 0
738s # Vector: 1
738s # Vector: 2
738s # Vector: 3
738s # Vector: 4
738s # Vector: 5
738s ok 3 /gdbus/message/bytes-needed
738s # End of message tests
738s # End of gdbus tests
738s TAP version 14
738s # random seed: R02S78ab2303f8b0db548cfca92330fcd5a2
738s 1..18
738s # Start of glistmodel tests
738s # Start of store tests
738s ok 1 /glistmodel/store/properties
738s ok 2 /glistmodel/store/non-gobjects
738s ok 3 /glistmodel/store/boundaries
738s ok 4 /glistmodel/store/refcounts
738s ok - glib/glistmodel.test
738s # Running test: glib/refcount.test
738s ok - glib/refcount.test
738s # Running test: glib/unix-mounts.test
738s ok - glib/unix-mounts.test
738s # Running test: glib/task.test
738s ok 5 /glistmodel/store/sorted
738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
738s ok 6 /glistmodel/store/splice-replace-middle
738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
738s ok 7 /glistmodel/store/splice-replace-all
738s ok 8 /glistmodel/store/splice-noop
738s ok 9 /glistmodel/store/splice-remove-multiple
738s ok 10 /glistmodel/store/splice-add-multiple
738s ok 11 /glistmodel/store/splice-wrong-type
738s ok 12 /glistmodel/store/item-type
738s ok 13 /glistmodel/store/remove-all
738s ok 14 /glistmodel/store/sort
738s ok 15 /glistmodel/store/get-item-cache
738s ok 16 /glistmodel/store/items-changed
738s ok 17 /glistmodel/store/past-end
738s ok 18 /glistmodel/store/find
738s # End of store tests
738s # End of glistmodel tests
738s TAP version 14
738s # random seed: R02S160a4a69184767dfb4e5e7747e1c1c7c
738s 1..4
738s # Start of refcount tests
738s ok 1 /refcount/grefcount
738s ok 2 /refcount/gatomicrefcount
738s # Start of grefcount tests
738s ok 3 /refcount/grefcount/saturation
738s # End of grefcount tests
738s # Start of gatomicrefcount tests
738s ok 4 /refcount/gatomicrefcount/saturation
738s # End of gatomicrefcount tests
738s # End of refcount tests
738s TAP version 14
738s # random seed: R02Sedba8cb42a0fd79d8407f9c6338b0301
738s 1..4
738s # Start of unix-mounts tests
738s ok 1 /unix-mounts/is-system-fs-type
738s ok 2 /unix-mounts/is-system-device-path
738s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file()
738s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
738s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
738s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
738s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
738s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
738s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
738s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
738s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
738s ok 3 /unix-mounts/get-mount-points
738s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file()
738s ok 4 /unix-mounts/get-mount-entries
738s # End of unix-mounts tests
738s TAP version 14
738s # random seed: R02S77e4a8364c0dbdb6aba7b5860979760e
738s 1..36
738s # Start of gtask tests
738s ok 1 /gtask/basic
738s ok 2 /gtask/error
738s ok 3 /gtask/error-literal
738s ok 4 /gtask/error-literal-from-variable
738s ok 5 /gtask/return-from-same-iteration
738s ok 6 /gtask/return-from-toplevel
738s ok 7 /gtask/return-from-anon-thread
738s ok 8 /gtask/return-from-wrong-thread
738s ok 9 /gtask/no-callback
738s ok 10 /gtask/report-error
738s ok 11 /gtask/priority
738s ok 12 /gtask/name
738s ok 13 /gtask/static-name
738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608
739s ok 14 /gtask/asynchronous-cancellation
739s ok 15 /gtask/check-cancellable
739s ok 16 /gtask/return-if-cancelled
739s ok 17 /gtask/run-in-thread
739s ok 18 /gtask/run-in-thread-sync
739s ok 19 /gtask/run-in-thread-priority
739s ok 20 /gtask/run-in-thread-nested
739s ok 21 /gtask/run-in-thread-overflow
739s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs
739s # GLib-GIO-DEBUG: GTask 0x2aa31d50700 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
739s # GLib-GIO-DEBUG: GTask 0x2aa31d50c10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
739s ok 22 /gtask/return-on-cancel
739s # GLib-GIO-DEBUG: GTask 0x2aa31d509f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
739s # GLib-GIO-DEBUG: GTask 0x2aa31d4fe50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
739s ok 23 /gtask/return-on-cancel-sync
739s ok 24 /gtask/return-on-cancel-atomic
739s ok 25 /gtask/return-pointer
739s ok 26 /gtask/return-value
739s ok 27 /gtask/return-prefixed-error
739s ok 28 /gtask/object-keepalive
739s ok 29 /gtask/legacy-error
739s ok - glib/task.test
739s # Running test: glib/resources.test
739s ok - glib/resources.test
739s # Running test: glib/object-info.test
739s ok - glib/object-info.test
739s # Running test: glib/markup-escape.test
739s ok - glib/markup-escape.test
739s # Running test: glib/include.test
739s ok 30 /gtask/finalize-without-return
739s # Start of name tests
739s ok 31 /gtask/name/macro-wrapper
739s # End of name tests
739s # Start of return tests
739s ok 32 /gtask/return/error-first
739s ok 33 /gtask/return/value-first
739s # Start of in-idle tests
739s ok 34 /gtask/return/in-idle/error-first
739s ok 35 /gtask/return/in-idle/value-first
739s # End of in-idle tests
739s # End of return tests
739s # Start of attach-source tests
739s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset
739s ok 36 /gtask/attach-source/set-name
739s # End of attach-source tests
739s # End of gtask tests
739s TAP version 14
739s # random seed: R02Sc75a745de74d086f2ce0cf805ed6b50e
739s 1..19
739s # Start of resource tests
739s ok 1 /resource/file
739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
739s ok 2 /resource/file-path
739s ok 3 /resource/data
739s ok 4 /resource/data_unaligned
739s ok 5 /resource/data-corrupt
739s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression).
739s ok 6 /resource/data-corrupt-compression
739s ok 7 /resource/data-empty
739s ok 8 /resource/registered
739s ok 9 /resource/manual
739s ok 10 /resource/manual2
739s ok 11 /resource/automatic
739s ok 12 /resource/module
739s ok 13 /resource/binary-linked
739s ok 14 /resource/64k
739s GLib-GIO-Message: 18:51:08.271: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay'
739s GLib-GIO-Message: 18:51:08.271: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
739s GLib-GIO-Message: 18:51:08.271: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
739s ok 15 /resource/overlay
739s ok 16 /resource/digits
739s ok 17 /resource/has-children
739s # Start of uri tests
739s ok 18 /resource/uri/query-info
739s ok 19 /resource/uri/file
739s # End of uri tests
739s # End of resource tests
739s TAP version 14
739s # random seed: R02S9f98b5440906eda5e3791b830f5991bb
739s 1..2
739s # Start of object-info tests
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_H2SA62/object-info/find-method-using-interfaces/.dirs/runtime
739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
739s ok 1 /object-info/find-method-using-interfaces
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_H2SA62/object-info/find-vfunc-using-interfaces/.dirs/runtime
739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
739s ok 2 /object-info/find-vfunc-using-interfaces
739s # End of object-info tests
739s TAP version 14
739s # random seed: R02Sca65212748d3f3f68267a7f26848a006
739s 1..41
739s # Start of markup tests
739s ok 1 /markup/format
739s # Start of escape-text tests
739s ok 2 /markup/escape-text/0
739s ok 3 /markup/escape-text/1
739s ok 4 /markup/escape-text/2
739s ok 5 /markup/escape-text/3
739s ok 6 /markup/escape-text/4
739s ok 7 /markup/escape-text/5
739s ok 8 /markup/escape-text/6
739s ok 9 /markup/escape-text/7
739s ok 10 /markup/escape-text/8
739s ok 11 /markup/escape-text/9
739s ok 12 /markup/escape-text/10
739s ok 13 /markup/escape-text/11
739s ok 14 /markup/escape-text/12
739s ok 15 /markup/escape-text/13
739s ok 16 /markup/escape-text/14
739s ok 17 /markup/escape-text/15
739s ok 18 /markup/escape-text/16
739s ok 19 /markup/escape-text/17
739s ok 20 /markup/escape-text/18
739s ok 21 /markup/escape-text/19
739s ok 22 /markup/escape-text/20
739s ok 23 /markup/escape-text/21
739s ok 24 /markup/escape-text/22
739s # End of escape-text tests
739s # Start of escape-unichar tests
739s ok 25 /markup/escape-unichar/0
739s ok 26 /markup/escape-unichar/1
739s ok 27 /markup/escape-unichar/2
739s ok 28 /markup/escape-unichar/3
739s ok 29 /markup/escape-unichar/4
739s ok 30 /markup/escape-unichar/5
739s ok 31 /markup/escape-unichar/6
739s ok 32 /markup/escape-unichar/7
739s ok 33 /markup/escape-unichar/8
739s ok 34 /markup/escape-unichar/9
739s ok 35 /markup/escape-unichar/10
739s ok 36 /markup/escape-unichar/11
739s ok 37 /markup/escape-unichar/12
739s ok 38 /markup/escape-unichar/13
739s ok 39 /markup/escape-unichar/14
739s ok 40 /markup/escape-unichar/15
739s ok 41 /markup/escape-unichar/16
739s # End of escape-unichar tests
739s # End of markup tests
739s ok - glib/include.test
739s # Running test: glib/cxx-14.test
739s ok - glib/cxx-14.test
739s # Running test: glib/defaultvalue.test
739s TAP version 14
739s # random seed: R02Sc7b9309952d565899d0c2f0661d80ae5
739s 1..1
739s # Start of include tests
739s ok 1 /include/rwlock
739s # End of include tests
739s TAP version 14
739s # random seed: R02S5b44c660ba6bea7e491450dc69bb600f
739s 1..2
739s # Start of gtask tests
739s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
739s ok 1 /gtask/name
739s # Start of name tests
739s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
739s ok 2 /gtask/name/macro-wrapper
739s # End of name tests
739s # End of gtask tests
739s TAP version 14
739s # random seed: R02S22d6e13691df0d224ab7a3f42fede048
739s 1..84
739s # Start of Default Values tests
739s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton
739s ok 2 /Default Values/GAppLaunchContext
739s ok 3 /Default Values/GApplicationCommandLine
739s # skipping GApplication:is-remote
739s ok 4 /Default Values/GApplication
739s ok 5 /Default Values/GBinding # SKIP mandatory construct params
739s ok 6 /Default Values/GBindingGroup
739s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params
739s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params
739s ok 9 /Default Values/GBytesIcon
739s ok 10 /Default Values/GCancellable
739s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params
739s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params
739s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params
739s ok 14 /Default Values/GCredentials
739s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params
739s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params
739s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params
739s ok 18 /Default Values/GDBusAuthObserver
739s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params
739s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize
739s ok 21 /Default Values/GDBusMessage
739s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize
739s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params
739s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params
739s ok 25 /Default Values/GDBusObjectProxy
739s ok 26 /Default Values/GDBusObjectSkeleton
739s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params
739s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params
739s ok 29 /Default Values/GEmblem
739s ok 30 /Default Values/GEmblemedIcon
739s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract
739s ok 32 /Default Values/GFileInfo
739s ok 33 /Default Values/GFileInputStream
739s ok 34 /Default Values/GFileIOStream # SKIP should be abstract
739s ok 35 /Default Values/GFileOutputStream
739s ok 36 /Default Values/GFilenameCompleter
739s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params
739s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed
739s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params
739s ok 40 /Default Values/GInitiallyUnowned
739s ok 41 /Default Values/GIOModule
739s ok 42 /Default Values/GListStore
739s ok 43 /Default Values/GMemoryInputStream
739s ok 44 /Default Values/GMemoryOutputStream
739s ok 45 /Default Values/GMenu
739s ok 46 /Default Values/GMenuItem
739s ok 47 /Default Values/GMountOperation
739s ok 48 /Default Values/GNativeSocketAddress
739s ok 49 /Default Values/GNetworkAddress
739s ok 50 /Default Values/GNetworkService
739s ok 51 /Default Values/GNotification
739s ok 52 /Default Values/GObject
739s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params
739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
739s # skipping GProxyAddressEnumerator:proxy-resolver
739s ok 54 /Default Values/GProxyAddressEnumerator
739s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params
739s ok 56 /Default Values/GSettings # SKIP mandatory construct params
739s ok 57 /Default Values/GSignalGroup
739s ok 58 /Default Values/GSimpleAction
739s ok 59 /Default Values/GSimpleActionGroup
739s ok 60 /Default Values/GSimpleAsyncResult
739s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params
739s ok 62 /Default Values/GSimplePermission
739s ok 63 /Default Values/GSimpleProxyResolver
739s # skipping GSocketClient:proxy-resolver
739s ok 64 /Default Values/GSocketClient
739s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params
739s ok 66 /Default Values/GSocket # SKIP initialization failed
739s ok 67 /Default Values/GSocketListener
739s ok 68 /Default Values/GSocketService
739s ok 69 /Default Values/GSubprocess # SKIP initialization failed
739s ok 70 /Default Values/GSubprocessLauncher
739s # GLib-GIO-DEBUG: GTask 0x2aa05879f20 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
739s ok 71 /Default Values/GTask
739s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params
739s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params
739s ok 74 /Default Values/GTestDBus
739s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params
739s ok 76 /Default Values/GThreadedSocketService
739s ok 77 /Default Values/GTlsInteraction
739s ok 78 /Default Values/GTlsPassword
739s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params
739s ok 80 /Default Values/GUnixFDList
739s ok 81 /Default Values/GVfs
739s ok 82 /Default Values/GVolumeMonitor
739s ok 83 /Default Values/GZlibCompressor
739s ok 84 /Default Values/GZlibDecompressor
739s # End of Default Values tests
739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
739s ok - glib/defaultvalue.test
739s # Running test: glib/live-g-file.test
739s TAP version 14
739s # random seed: R02S5681488a8c9b0a3239851c22ef6a3f97
739s 1..13
739s # Start of live-g-file tests
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/prep_clean_structure/.dirs/runtime
739s # Cleaning target testing structure in '/tmp/test_live-g-file_F0FA62/testdir_live-g-file'...
739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
739s ok 1 /live-g-file/prep_clean_structure
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/create_structure/.dirs/runtime
739s #
739s # Going to create testing structure in '/tmp/test_live-g-file_F0FA62/testdir_live-g-file'...
739s # Creating directory 'dir1'...
739s # Creating directory 'dir1/subdir'...
739s # Creating directory 'dir2'...
739s # Creating directory 'dir-target'...
739s # Creating directory 'dir_no-access'...
739s # Creating directory 'dir_no-write'...
739s # Creating file 'target-file'...
739s # Creating file 'normal_file'...
739s # Creating symlink 'normal_file-symlink' --> 'normal_file'...
739s # Creating file 'executable_file'...
739s # Creating file 'private_file'...
739s # Creating file 'normal_file2'...
739s # Creating file 'readonly_file'...
739s # Creating file 'UTF_pr?i?lis? z'...
739s # Creating directory 'dir_pr?i?lis? z'...
739s # Creating symlink 'lost_symlink' --> 'nowhere'...
739s # Creating directory 'dir_hidden'...
739s # Creating file 'dir_hidden/.a-hidden-file'...
739s # Creating file 'dir_hidden/file-in-.hidden1'...
739s # Creating file 'dir_hidden/file-in-.hidden2'...
739s # Creating pattern file...
739s # done.
739s ok 2 /live-g-file/create_structure
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_initial_structure/.dirs/runtime
739s # Testing sample structure in '/tmp/test_live-g-file_F0FA62/testdir_live-g-file'...
739s # Testing file 'dir1'...
739s # Testing file 'dir1/subdir'...
739s # Testing file 'dir2'...
739s # Testing file 'dir-target'...
739s # Testing file 'dir_no-access'...
739s # Testing file 'dir_no-write'...
739s # Testing file 'target-file'...
739s # Testing file 'normal_file'...
739s # Testing file 'normal_file-symlink'...
739s # Testing file 'executable_file'...
739s # Testing file 'private_file'...
739s # Testing file 'normal_file2'...
739s # Testing file 'readonly_file'...
739s # Testing file 'UTF_pr?i?lis? z'...
739s # Testing file 'dir_pr?i?lis? z'...
739s # Testing file 'lost_symlink'...
739s # Testing file 'dir_hidden'...
739s # Testing file 'dir_hidden/.a-hidden-file'...
739s # Testing file 'dir_hidden/file-in-.hidden1'...
739s # Testing file 'dir_hidden/file-in-.hidden2'...
739s # Testing pattern file...
739s # read 65536 bytes, total = 65536 of 65536.
739s ok 3 /live-g-file/test_initial_structure
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_traverse_structure/.dirs/runtime
739s # Traversing through the sample structure in '/tmp/test_live-g-file_F0FA62/testdir_live-g-file'...
739s # Found file dir1, relative to root: dir1
739s # Found file subdir, relative to root: dir1/subdir
739s # Found file dir2, relative to root: dir2
739s # Found file dir-target, relative to root: dir-target
739s # Found file dir_no-access, relative to root: dir_no-access
739s # Found file dir_no-write, relative to root: dir_no-write
739s # Found file target-file, relative to root: target-file
739s # Found file normal_file, relative to root: normal_file
739s # Found file normal_file-symlink, relative to root: normal_file-symlink
739s # Found file executable_file, relative to root: executable_file
739s # Found file private_file, relative to root: private_file
739s # Found file normal_file2, relative to root: normal_file2
739s # Found file readonly_file, relative to root: readonly_file
739s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z
739s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z
739s # Found file lost_symlink, relative to root: lost_symlink
739s # Found file dir_hidden, relative to root: dir_hidden
739s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file
739s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1
739s # Found file .hidden, relative to root: dir_hidden/.hidden
739s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2
739s # Found file pattern_file, relative to root: pattern_file
739s ok 4 /live-g-file/test_traverse_structure
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_enumerate/.dirs/runtime
739s # Test enumerate '/tmp/test_live-g-file_F0FA62/testdir_live-g-file'...
739s # Testing file 'dir_no-access'
739s # Testing file 'normal_file'
739s # Testing file 'normal_file-symlink'
739s # Testing file 'not_exists'
739s # Testing file 'not_exists'
739s # Testing file 'not_exists2'
739s # Testing file 'not_exists3'
739s # Testing file 'not_exists4'
739s # Testing file 'dir_no-execute/file'
739s ok 5 /live-g-file/test_enumerate
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_open/.dirs/runtime
739s # test_open: 'dir1'
739s # test_open: 'dir_no-access'
739s # test_open: 'target-file'
739s # test_open: 'normal_file-symlink'
739s # test_open: 'executable_file'
739s # test_open: 'private_file'
739s # test_open: 'readonly_file'
739s # test_open: 'UTF_pr?i?lis? z'
739s # test_open: 'pattern_file'
739s # test_open: 'not_exists'
739s # test_open: 'dir_no-execute/file'
739s # test_open: 'lost_symlink'
739s ok 6 /live-g-file/test_open
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_create/.dirs/runtime
739s # test_create: 'dir1'
739s # error code 3 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir1?: Is a directory
739s # test_create: 'dir1/subdir'
739s # error code 3 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir1/subdir?: Is a directory
739s # test_create: 'dir2'
739s # error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir2?: File exists
739s # test_create: 'normal_file'
739s # error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/normal_file?: File exists
739s # test_create: 'executable_file'
739s # test_create: 'private_file'
739s # test_create: 'normal_file2'
739s # test_create: 'UTF_pr?i?lis? z'
739s # error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
739s # test_create: 'dir_pr?i?lis? z'
739s # error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_pr?i?lis? z?: File exists
739s # test_create: 'pattern_file'
739s # test_create: 'not_exists2'
739s # test_create: 'not_exists3'
739s # test_create: 'not_exists4'
739s ok 7 /live-g-file/test_create
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_copy_move/.dirs/runtime
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir1/subdir' --> 'dir-target'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir1/subdir' --> '.'
739s # res = 0, error code 2 = Target file exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir1/subdir' --> 'target-file'
739s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/dir1/subdir?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir1/subdir' --> 'not_exists'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir1/subdir' --> 'dir_no-access'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir1/subdir' --> 'dir_no-write'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir2' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir-target' --> 'dir-target'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir-target' --> '.'
739s # res = 0, error code 2 = Target file exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir-target' --> 'target-file'
739s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/dir-target?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir-target' --> 'not_exists'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir-target' --> 'dir_no-access'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'dir-target' --> 'dir_no-write'
739s # res = 0, error code 25 = Can?t recursively copy directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'target-file' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'target-file' --> '.'
739s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file?: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'target-file' --> 'target-file'
739s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/target-file?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'target-file' --> 'not_exists'
739s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/target-file?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'target-file' --> 'dir_no-access'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/target-file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'target-file' --> 'dir_no-write'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/target-file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file-symlink' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file-symlink' --> '.'
739s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/normal_file-symlink: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file-symlink' --> 'target-file'
739s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/normal_file-symlink: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file-symlink' --> 'not_exists'
739s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access'
739s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write'
739s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'executable_file' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'executable_file' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'executable_file' --> '.'
739s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/executable_file?: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'executable_file' --> 'target-file'
739s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/executable_file?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'executable_file' --> 'not_exists'
739s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/executable_file?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'executable_file' --> 'dir_no-access'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/executable_file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'executable_file' --> 'dir_no-write'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/executable_file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'private_file' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'private_file' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'private_file' --> '.'
739s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/private_file?: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'private_file' --> 'target-file'
739s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/private_file?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'private_file' --> 'not_exists'
739s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/private_file?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'private_file' --> 'dir_no-access'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/private_file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'private_file' --> 'dir_no-write'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/private_file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file2' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file2' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file2' --> '.'
739s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/normal_file2?: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file2' --> 'target-file'
739s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/normal_file2?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file2' --> 'not_exists'
739s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/normal_file2?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file2' --> 'dir_no-access'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'normal_file2' --> 'dir_no-write'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'UTF_pr?i?lis? z' --> '.'
739s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file'
739s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists'
739s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'pattern_file' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'pattern_file' --> '.'
739s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/pattern_file?: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'pattern_file' --> 'target-file'
739s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/pattern_file?: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'pattern_file' --> 'not_exists'
739s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/pattern_file?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'pattern_file' --> 'dir_no-access'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'pattern_file' --> 'dir_no-write'
739s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'not_exists' --> 'dir-target'
739s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'not_exists' --> '.'
739s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'not_exists' --> 'target-file'
739s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'not_exists' --> 'not_exists'
739s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'not_exists' --> 'dir_no-access'
739s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'not_exists' --> 'dir_no-write'
739s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists?: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'not_exists' --> 'dir-target'
739s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'lost_symlink' --> 'dir-target'
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'lost_symlink' --> '.'
739s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/lost_symlink: File exists
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'lost_symlink' --> 'target-file'
739s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/target-file/lost_symlink: Not a directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'lost_symlink' --> 'not_exists'
739s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists/lost_symlink: No such file or directory
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'lost_symlink' --> 'dir_no-access'
739s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s # do_copy_move: 'lost_symlink' --> 'dir_no-write'
739s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied
739s ok 8 /live-g-file/test_copy_move
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_delete/.dirs/runtime
739s # Deleting dir1, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir1
739s # result = 0, error = Error removing file /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir1: Directory not empty
739s # Deleting dir2, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir2
739s # result = 0, error = Error removing file /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir2: No such file or directory
739s # Deleting executable_file, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/executable_file
739s # result = 0, error = Error trashing file /tmp/test_live-g-file_F0FA62/testdir_live-g-file/executable_file: No such file or directory
739s # Deleting readonly_file, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/readonly_file
739s # Deleting dir_pr?i?lis? z, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_pr?i?lis? z
739s ok - glib/live-g-file.test
739s # Running test: glib/accumulator.test
739s ok - glib/accumulator.test
739s # Running test: glib/flags.test
739s ok - glib/flags.test
739s # Running test: glib/portal-support-flatpak-full.test
739s ok - glib/portal-support-flatpak-full.test
739s # Running test: glib/properties.test
739s # Deleting not_exists, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists
739s # result = 0, error = Error removing file /tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists: No such file or directory
739s # Deleting not_exists, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists
739s # result = 0, error = Error trashing file /tmp/test_live-g-file_F0FA62/testdir_live-g-file/not_exists: No such file or directory
739s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-execute/file
739s # result = 0, error = Error removing file /tmp/test_live-g-file_F0FA62/testdir_live-g-file/dir_no-execute/file: No such file or directory
739s # Deleting lost_symlink, path = /tmp/test_live-g-file_F0FA62/testdir_live-g-file/lost_symlink
739s ok 9 /live-g-file/test_delete
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_make_directory_with_parents/.dirs/runtime
739s # We do not have CAP_DAC_OVERRIDE or equivalent
739s ok 10 /live-g-file/test_make_directory_with_parents
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/final_clean/.dirs/runtime
739s # Cleaning target testing structure in '/tmp/test_live-g-file_F0FA62/testdir_live-g-file'...
739s # deleting 'dir1'
739s # deleting 'subdir'
739s # deleting 'dir-target'
739s # deleting 'dir2'
739s # deleting 'target-file'
739s # deleting 'normal_file-symlink'
739s # deleting 'pattern_file'
739s # deleting 'executable_file'
739s # deleting 'private_file'
739s # deleting 'normal_file2'
739s # deleting 'UTF_pr?i?lis? z'
739s # deleting 'lost_symlink'
739s # deleting 'dir_no-access'
739s # deleting 'dir_no-write'
739s # deleting 'target-file'
739s # deleting 'normal_file'
739s # deleting 'normal_file-symlink'
739s # deleting 'executable_file~'
739s # deleting 'private_file'
739s # deleting 'normal_file2~'
739s # deleting 'a'
739s # deleting 'UTF_pr?i?lis? z'
739s # deleting 'dir_hidden'
739s # deleting '.a-hidden-file'
739s # deleting 'file-in-.hidden1'
739s # deleting '.hidden'
739s # deleting 'file-in-.hidden2'
739s # deleting 'pattern_file'
739s # deleting 'executable_file'
739s # deleting 'normal_file2'
739s # deleting 'not_exists2'
739s # deleting 'not_exists3'
739s # deleting 'not_exists4'
739s ok 11 /live-g-file/final_clean
739s # Start of test_unix_is_mountpoint tests
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime
739s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_F0FA62/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime
739s ok 13 /live-g-file/test_unix_is_mountpoint/proc
739s # End of test_unix_is_mountpoint tests
739s # End of live-g-file tests
739s TAP version 14
739s # random seed: R02Sc48878171fff2d9a8d9327612b0f16bb
739s 1..1
739s # Start of gobject tests
739s ok 1 /gobject/accumulator
739s # End of gobject tests
739s TAP version 14
739s # random seed: R02Sa63f441af33f5d9ce3073398e3f12879
739s 1..1
739s # Start of gobject tests
739s # Start of flags tests
739s ok 1 /gobject/flags/validate
739s # End of flags tests
739s # End of gobject tests
739s TAP version 14
739s # random seed: R02S0c3e3a94b05ccb1f003c5274145c4025
739s 1..1
739s # Start of portal-support tests
739s # Start of flatpak tests
739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/home
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/cache
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/system-config2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/config
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/system-data2
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/data
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/state
739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/runtime
739s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_4XWB62/portal-support/flatpak/full/.dirs/runtime/.flatpak-info
739s ok 1 /portal-support/flatpak/full
739s # End of flatpak tests
739s # End of portal-support tests
739s TAP version 14
739s # random seed: R02S34b1823afd3ae761e782fd0c8194adb8
739s 1..14
739s # Start of properties tests
739s ok 1 /properties/install
739s ok 2 /properties/install-many
739s ok 3 /properties/notify
739s ok 4 /properties/notify-queue
739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357
739s ok 5 /properties/construct
739s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values
739s # Test g_object_get_property with an initialized value
739s # Test g_object_get_property with an uninitialized value
739s # Test g_object_get_property with a transformable value
739s ok 6 /properties/get-property
739s ok 7 /properties/testv_with_no_properties
739s ok 8 /properties/testv_with_valid_properties
739s ok 9 /properties/testv_with_invalid_property_type
739s ok 10 /properties/testv_with_invalid_property_names
739s ok 11 /properties/testv_getv
739s ok 12 /properties/testv_notify_queue
739s # Start of notify tests
739s ok 13 /properties/notify/too-many-freezes
739s # End of notify tests
739s # Start of set-property tests
739s # Start of variant tests
739s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference
739s ok 14 /properties/set-property/variant/floating
739s # End of variant tests
739s # End of set-property tests
739s # End of properties tests
739s ok - glib/properties.test
739s # Running test: glib/thread-deprecated.test
739s TAP version 14
739s # random seed: R02S2d1abc4118391548b80c8ec7ca37fadd
739s 1..6
739s # Start of thread tests
740s ok 1 /thread/mutex
740s # Executing: glib/thread-deprecated.test
740s ok 2 /thread/static-rec-mutex
744s ok 3 /thread/static-private
744s # slow test /thread/static-private executed in 4.20 secs
745s # Executing: glib/thread-deprecated.test
749s ok 4 /thread/static-rw-lock
749s # slow test /thread/static-rw-lock executed in 5.00 secs
749s ok 5 /thread/once
750s # Executing: glib/thread-deprecated.test
755s # Executing: glib/thread-deprecated.test
759s ok 6 /thread/rerun-all
759s # slow test /thread/rerun-all executed in 10.02 secs
759s # End of thread tests
759s ok - glib/thread-deprecated.test
759s # Running test: glib/file-thumbnail.test
759s ok - glib/file-thumbnail.test
759s # Running test: glib/registered-type-info.test
759s ok - glib/registered-type-info.test
759s # Running test: glib/cxx-11.test
759s TAP version 14
759s # random seed: R02Se316730f4393e5b6ff694ba8f24ede2b
759s 1..7
759s # Start of file-thumbnail tests
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/runtime
759s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
759s ok 1 /file-thumbnail/fail
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/runtime
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
759s ok 2 /file-thumbnail/size-priority
759s # Start of valid tests
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/runtime
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
759s ok 3 /file-thumbnail/valid/normal
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/runtime
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
759s ok 4 /file-thumbnail/valid/large
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/runtime
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
759s ok 5 /file-thumbnail/valid/x-large
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/runtime
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
759s ok 6 /file-thumbnail/valid/xx-large
759s # End of valid tests
759s # Start of unknown tests
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/runtime
759s # Created test thumbnail at /tmp/test_file-thumbnail_1ST352/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png
759s ok 7 /file-thumbnail/unknown/super-large
759s # End of unknown tests
759s # End of file-thumbnail tests
759s TAP version 14
759s # random seed: R02Sed8e072517c7eb260b2ed5e4cb661799
759s 1..1
759s # Start of registered-type-info tests
759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/home
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/cache
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/system-config2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/config
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/system-data2
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/data
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/state
759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_O0B352/registered-type-info/boxed/.dirs/runtime
759s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
759s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo
759s # Expecting CClosure to not be boxed
759s # Expecting TypeCValue to not be boxed
759s # Expecting InitiallyUnownedClass to not be boxed
759s # Expecting BookmarkFile to be boxed
759s # Expecting Closure to be boxed
759s # Expecting Object to not be boxed
759s ok 1 /registered-type-info/boxed
759s # End of registered-type-info tests
759s TAP version 14
759s ok - glib/cxx-11.test
759s # Running test: glib/bitlock.test
759s ok - glib/bitlock.test
759s # Running test: glib/fdo-notification-backend.test
759s ok - glib/fdo-notification-backend.test
759s # Running test: glib/filter-streams.test
759s ok - glib/filter-streams.test
759s # Running test: glib/signals-refcount1.test
759s # random seed: R02S3560f9dbf756d94bffa6e49035cbed2b
759s 1..2
759s # Start of gtask tests
759s # 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.
759s ok 1 /gtask/name
759s # Start of name tests
759s # 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.
759s ok 2 /gtask/name/macro-wrapper
759s # End of name tests
759s # End of gtask tests
759s TAP version 14
759s # random seed: R02S5456c84c8611344b45cd0d10002a9a6b
759s 1..1
759s # Start of bitlock tests
759s # Start of performance tests
759s # max perf: iterations per second
759s ok 1 /bitlock/performance/uncontended
759s # End of performance tests
759s # End of bitlock tests
759s TAP version 14
759s # random seed: R02S8850941bd4aadd46c3e880574ab36284
759s 1..2
759s # Start of fdo-notification-backend tests
759s # Test constructing a GFdoNotificationBackend
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s ok 1 /fdo-notification-backend/construction
759s # Start of dbus tests
759s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
759s ok 2 /fdo-notification-backend/dbus/activate-action
759s # End of dbus tests
759s # End of fdo-notification-backend tests
759s TAP version 14
759s # random seed: R02Sa8a6a9b464253a1066a7279b66a4508b
759s 1..4
759s # Start of filter-stream tests
759s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394
759s ok 1 /filter-stream/input
759s ok 2 /filter-stream/output
759s ok 3 /filter-stream/async-input
759s ok 4 /filter-stream/async-output
759s # End of filter-stream tests
759s TAP version 14
759s # random seed: R02S7e11d7af60d8c9f5078333e7d16c59b1
759s 1..1
759s # Start of gobject tests
759s # Start of refcount tests
759s # init 0x2aa19f58dc0
759s #
759s # init 0x2aa19f55310
759s #
760s # Executing: glib/signals-refcount1.test
764s ok - glib/signals-refcount1.test
764s # Running test: glib/portal-support-flatpak-gsettings-only.test
764s ok - glib/portal-support-flatpak-gsettings-only.test
764s # Running test: glib/rcbox.test
764s ok - glib/rcbox.test
764s # Running test: glib/gdbus-address-get-session.test
764s ok - glib/gdbus-address-get-session.test
764s # Running test: glib/buffered-output-stream.test
764s # dispose 0x2aa19f58dc0!
764s #
764s # dispose 0x2aa19f55310!
764s #
764s ok 1 /gobject/refcount/signals
764s # slow test /gobject/refcount/signals executed in 5.13 secs
764s # End of refcount tests
764s # End of gobject tests
764s TAP version 14
764s # random seed: R02S3efcc6e9bf8317b65c0062b3170ac7fe
764s 1..1
764s # Start of portal-support tests
764s # Start of flatpak tests
764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/home
764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/cache
764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/system-config2
764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/config
764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/system-data2
764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/data
764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/state
764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/runtime
764s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_9QQC62/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info
764s ok 1 /portal-support/flatpak/gsettings
764s # End of flatpak tests
764s # End of portal-support tests
764s TAP version 14
764s # random seed: R02Sc4648dafbdfea9415f2f438eef1429f5
764s 1..8
764s # Start of rcbox tests
764s ok 1 /rcbox/new
764s # global_point = 0x2aa07d7e8a0
764s ok 2 /rcbox/release-full
764s # global_point_a = 0x2aa07d7e8a0
764s # global_point_b = 0x2aa07d7e970
764s ok 3 /rcbox/dup
764s ok 4 /rcbox/alignment
764s # End of rcbox tests
764s # Start of atomic-rcbox tests
764s ok 5 /atomic-rcbox/new
764s # global_point = 0x2aa07d7e970
764s ok 6 /atomic-rcbox/release-full
764s # global_point_a = 0x2aa07d7e970
764s # global_point_b = 0x2aa07d7e8a0
764s ok 7 /atomic-rcbox/dup
764s ok 8 /atomic-rcbox/alignment
764s # End of atomic-rcbox tests
764s TAP version 14
764s # random seed: R02Sbd97e0b39cf53a42a21ef826c46d4131
764s 1..2
764s # Start of gdbus tests
764s ok 1 /gdbus/x11-autolaunch
764s ok 2 /gdbus/xdg-runtime
764s # End of gdbus tests
764s TAP version 14
764s # random seed: R02S1cdf7297b04c4f3b69d20a5ed03d048b
764s 1..5
764s # Start of buffered-output-stream tests
764s ok 1 /buffered-output-stream/write
764s ok 2 /buffered-output-stream/grow
764s ok 3 /buffered-output-stream/seek
764s ok 4 /buffered-output-stream/truncate
764s # End of buffered-output-stream tests
764s # Start of filter-output-stream tests
764s ok 5 /filter-output-stream/close
764s # End of filter-output-stream tests
764s ok - glib/buffered-output-stream.test
764s # Running test: glib/refstring.test
764s TAP version 14
764s # random seed: R02Sd9d16aa57e2af1ee8c51140d1b03bb85
764s 1..8
764s # Start of refstring tests
764s # s = 'hello, world' (0x2aa368d43c0)
764s ok 1 /refstring/base
764s ok 2 /refstring/length
764s ok 3 /refstring/length-auto
764s ok 4 /refstring/length-nuls
764s # s = 'hello, world' (0x2aa368d4260)
764s # p = s = 'hello, world' (0x2aa368d4260)
764s # releasing p[0x2aa368d4260] ('hello, world')
764s # p = 'goodbye, world' (0x2aa368d43c0)
764s # releasing p[0x2aa368d43c0] ('goodbye, world')
764s # releasing s[0x2aa368d4260] ('hello, world')
764s ok 5 /refstring/intern
764s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable
764s ok 6 /refstring/hash_equal
764s # /refstring/equal summary: Test g_ref_string_equal() standalone
764s ok 7 /refstring/equal
765s # Executing: glib/refstring.test
766s ok 8 /refstring/intern-thread-safety
766s # slow test /refstring/intern-thread-safety executed in 1.16 secs
766s # End of refstring tests
766s ok - glib/refstring.test
766s # Running test: glib/mapping.test
766s TAP version 14
766s # random seed: R02Sfa264328b115e84b359314c92780c2c2
766s 1..3
766s # Start of mapping tests
766s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/home
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/cache
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/system-config1:/tmp/test_mapping_JXDU52/mapping/flags/.dirs/system-config2
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/config
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/system-data1:/tmp/test_mapping_JXDU52/mapping/flags/.dirs/system-data2
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/data
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/state
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_JXDU52/mapping/flags/.dirs/runtime
766s # test_mapping: ok
766s ok 1 /mapping/flags
766s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_JXDU52/mapping/private/.dirs/home
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_JXDU52/mapping/private/.dirs/cache
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_JXDU52/mapping/private/.dirs/system-config1:/tmp/test_mapping_JXDU52/mapping/private/.dirs/system-config2
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_JXDU52/mapping/private/.dirs/config
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_JXDU52/mapping/private/.dirs/system-data1:/tmp/test_mapping_JXDU52/mapping/private/.dirs/system-data2
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_JXDU52/mapping/private/.dirs/data
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_JXDU52/mapping/private/.dirs/state
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_JXDU52/mapping/private/.dirs/runtime
766s ok 2 /mapping/private
766s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/home
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/cache
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_JXDU52/mapping/private-child/.dirs/system-config2
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/config
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_JXDU52/mapping/private-child/.dirs/system-data2
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/data
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/state
766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_JXDU52/mapping/private-child/.dirs/runtime
766s # Subtest: /usr/libexec/installed-tests/glib/mapping
766s # test_child_private: child spawned
766s # random seed: R02Sfd8aa8af2301c473b89c87994194f72e
766s # test_child_private: received first child signal
766s # test_child_private: received parent signal
766s # Child exited with status 0
766s # test_child_private: received second child signal
766s ok 3 /mapping/private-child
766s # End of mapping tests
766s ok - glib/mapping.test
766s # Running test: glib/gapplication.test
766s TAP version 14
766s # random seed: R02Sc6922799ff2f9feda8b3a8d4e3ea35a0
766s 1..24
766s # Start of gapplication tests
766s ok 1 /gapplication/no-dbus
766s ok 2 /gapplication/no-appid
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s ok 3 /gapplication/properties
766s ok 4 /gapplication/app-id
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s ok 5 /gapplication/quit
766s ok 6 /gapplication/registered
766s ok 7 /gapplication/local-actions
766s ok 8 /gapplication/local-command-line
766s ok 9 /gapplication/resource-path
766s ok 10 /gapplication/test-help
766s ok 11 /gapplication/command-line-done
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s ok 12 /gapplication/test-busy
766s ok 13 /gapplication/test-handle-local-options1
766s ok 14 /gapplication/test-handle-local-options2
766s ok 15 /gapplication/test-handle-local-options3
766s ok 16 /gapplication/api
766s ok 17 /gapplication/version
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is 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 # launching subprocess
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s ok 18 /gapplication/replace
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: unsetenv() is 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 # launching subprocess
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s ok 19 /gapplication/no-replace
767s # slow test /gapplication/no-replace executed in 0.64 secs
767s # Start of dbus tests
767s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
767s # Message 0
767s # Message 1
767s # Message 2
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s ok 20 /gapplication/dbus/activate
767s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s ok - glib/gapplication.test
767s # Running test: glib/signals-refcount4.test
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
767s # Message 0
767s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
767s # Message 1
767s # Message 2
767s # Message 3
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s ok 21 /gapplication/dbus/open
767s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
767s # Message 0
767s # Message 1
767s # Message 2
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s ok 22 /gapplication/dbus/command-line
767s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s ok 23 /gapplication/dbus/command-line-done
767s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
767s # Message 0
767s # Message 1
767s # Message 2
767s # Message 3
767s # Message 4
767s # Message 5
767s # Message 6
767s # Message 7
767s # Message 8
767s # Message 9
767s # Message 10
767s # Message 11
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
767s ok 24 /gapplication/dbus/activate-action
767s # End of dbus tests
767s # End of gapplication tests
767s TAP version 14
767s # random seed: R02Se9a673359b179391fb2382f4c74b270c
767s 1..1
767s # Start of gobject tests
767s # Start of refcount tests
767s # init 0x2aa19a1adc0
767s #
767s # init 0x2aa19a17310
767s #
770s # Executing: glib/signals-refcount4.test
772s # dispose 0x2aa19a1adc0!
772s #
772s # dispose 0x2aa19a17310!
772s #
772s ok 1 /gobject/refcount/signals
772s # slow test /gobject/refcount/signals executed in 5.00 secs
772s # End of refcount tests
772s # End of gobject tests
772s ok - glib/signals-refcount4.test
772s # Running test: glib/checksum.test
772s TAP version 14
772s # random seed: R02S996d8fe37f6a40edd1643dc51f967b16
772s 1..1851
772s # Start of checksum tests
772s ok 1 /checksum/unsupported
772s # Start of MD5 tests
772s ok 2 /checksum/MD5/0
772s ok 3 /checksum/MD5/1
772s ok 4 /checksum/MD5/2
772s ok 5 /checksum/MD5/3
772s ok 6 /checksum/MD5/4
772s ok 7 /checksum/MD5/5
772s ok 8 /checksum/MD5/6
772s ok 9 /checksum/MD5/7
772s ok 10 /checksum/MD5/8
772s ok 11 /checksum/MD5/9
772s ok 12 /checksum/MD5/10
772s ok 13 /checksum/MD5/11
772s ok 14 /checksum/MD5/12
772s ok 15 /checksum/MD5/13
772s ok 16 /checksum/MD5/14
772s ok 17 /checksum/MD5/15
772s ok 18 /checksum/MD5/16
772s ok 19 /checksum/MD5/17
772s ok 20 /checksum/MD5/18
772s ok 21 /checksum/MD5/19
772s ok 22 /checksum/MD5/20
772s ok 23 /checksum/MD5/21
772s ok 24 /checksum/MD5/22
772s ok 25 /checksum/MD5/23
772s ok 26 /checksum/MD5/24
772s ok 27 /checksum/MD5/25
772s ok 28 /checksum/MD5/26
772s ok 29 /checksum/MD5/27
772s ok 30 /checksum/MD5/28
772s ok 31 /checksum/MD5/29
772s ok 32 /checksum/MD5/30
772s ok 33 /checksum/MD5/31
772s ok 34 /checksum/MD5/32
772s ok 35 /checksum/MD5/33
772s ok 36 /checksum/MD5/34
772s ok 37 /checksum/MD5/35
772s ok 38 /checksum/MD5/36
772s ok 39 /checksum/MD5/37
772s ok 40 /checksum/MD5/38
772s ok 41 /checksum/MD5/39
772s ok 42 /checksum/MD5/40
772s ok 43 /checksum/MD5/41
772s ok 44 /checksum/MD5/42
772s ok 45 /checksum/MD5/43
772s ok 46 /checksum/MD5/44
772s ok 47 /checksum/MD5/45
772s ok 48 /checksum/MD5/46
772s ok 49 /checksum/MD5/47
772s ok 50 /checksum/MD5/48
772s ok 51 /checksum/MD5/49
772s ok 52 /checksum/MD5/50
772s ok 53 /checksum/MD5/51
772s ok 54 /checksum/MD5/52
772s ok 55 /checksum/MD5/53
772s ok 56 /checksum/MD5/54
772s ok 57 /checksum/MD5/55
772s ok 58 /checksum/MD5/56
772s ok 59 /checksum/MD5/57
772s ok 60 /checksum/MD5/58
772s ok 61 /checksum/MD5/59
772s ok 62 /checksum/MD5/60
772s ok 63 /checksum/MD5/61
772s ok 64 /checksum/MD5/62
772s ok 65 /checksum/MD5/63
772s ok 66 /checksum/MD5/64
772s ok 67 /checksum/MD5/65
772s ok 68 /checksum/MD5/66
772s ok 69 /checksum/MD5/67
772s ok 70 /checksum/MD5/68
772s ok 71 /checksum/MD5/69
772s ok 72 /checksum/MD5/70
772s ok 73 /checksum/MD5/71
772s ok 74 /checksum/MD5/72
772s ok 75 /checksum/MD5/73
772s ok 76 /checksum/MD5/74
772s ok 77 /checksum/MD5/75
772s ok 78 /checksum/MD5/76
772s ok 79 /checksum/MD5/77
772s ok 80 /checksum/MD5/78
772s ok 81 /checksum/MD5/79
772s ok 82 /checksum/MD5/80
772s ok 83 /checksum/MD5/81
772s ok 84 /checksum/MD5/82
772s ok 85 /checksum/MD5/83
772s ok 86 /checksum/MD5/84
772s ok 87 /checksum/MD5/85
772s ok 88 /checksum/MD5/86
772s ok 89 /checksum/MD5/87
772s ok 90 /checksum/MD5/88
772s ok 91 /checksum/MD5/89
772s ok 92 /checksum/MD5/90
772s ok 93 /checksum/MD5/91
772s ok 94 /checksum/MD5/92
772s ok 95 /checksum/MD5/93
772s ok 96 /checksum/MD5/94
772s ok 97 /checksum/MD5/95
772s ok 98 /checksum/MD5/96
772s ok 99 /checksum/MD5/97
772s ok 100 /checksum/MD5/98
772s ok 101 /checksum/MD5/99
772s ok 102 /checksum/MD5/100
772s ok 103 /checksum/MD5/101
772s ok 104 /checksum/MD5/102
772s ok 105 /checksum/MD5/103
772s ok 106 /checksum/MD5/104
772s ok 107 /checksum/MD5/105
772s ok 108 /checksum/MD5/106
772s ok 109 /checksum/MD5/107
772s ok 110 /checksum/MD5/108
772s ok 111 /checksum/MD5/109
772s ok 112 /checksum/MD5/110
772s ok 113 /checksum/MD5/111
772s ok 114 /checksum/MD5/112
772s ok 115 /checksum/MD5/113
772s ok 116 /checksum/MD5/114
772s ok 117 /checksum/MD5/115
772s ok 118 /checksum/MD5/116
772s ok 119 /checksum/MD5/117
772s ok 120 /checksum/MD5/118
772s ok 121 /checksum/MD5/119
772s ok 122 /checksum/MD5/120
772s ok 123 /checksum/MD5/121
772s ok 124 /checksum/MD5/122
772s ok 125 /checksum/MD5/123
772s ok 126 /checksum/MD5/124
772s ok 127 /checksum/MD5/125
772s ok 128 /checksum/MD5/126
772s ok 129 /checksum/MD5/127
772s ok 130 /checksum/MD5/128
772s ok 131 /checksum/MD5/129
772s ok 132 /checksum/MD5/130
772s ok 133 /checksum/MD5/131
772s ok 134 /checksum/MD5/132
772s ok 135 /checksum/MD5/133
772s ok 136 /checksum/MD5/134
772s ok 137 /checksum/MD5/135
772s ok 138 /checksum/MD5/136
772s ok 139 /checksum/MD5/137
772s ok 140 /checksum/MD5/138
772s ok 141 /checksum/MD5/139
772s ok 142 /checksum/MD5/140
772s ok 143 /checksum/MD5/141
772s ok 144 /checksum/MD5/142
772s ok 145 /checksum/MD5/143
772s ok 146 /checksum/MD5/144
772s ok 147 /checksum/MD5/145
772s ok 148 /checksum/MD5/146
772s ok 149 /checksum/MD5/147
772s ok 150 /checksum/MD5/148
772s ok 151 /checksum/MD5/149
772s ok 152 /checksum/MD5/150
772s ok 153 /checksum/MD5/151
772s ok 154 /checksum/MD5/152
772s ok 155 /checksum/MD5/153
772s ok 156 /checksum/MD5/154
772s ok 157 /checksum/MD5/155
772s ok 158 /checksum/MD5/156
772s ok 159 /checksum/MD5/157
772s ok 160 /checksum/MD5/158
772s ok 161 /checksum/MD5/159
772s ok 162 /checksum/MD5/160
772s ok 163 /checksum/MD5/161
772s ok 164 /checksum/MD5/162
772s ok 165 /checksum/MD5/163
772s ok 166 /checksum/MD5/164
772s ok 167 /checksum/MD5/165
772s ok 168 /checksum/MD5/166
772s ok 169 /checksum/MD5/167
772s ok 170 /checksum/MD5/168
772s ok 171 /checksum/MD5/169
772s ok 172 /checksum/MD5/170
772s ok 173 /checksum/MD5/171
772s ok 174 /checksum/MD5/172
772s ok 175 /checksum/MD5/173
772s ok 176 /checksum/MD5/174
772s ok 177 /checksum/MD5/175
772s ok 178 /checksum/MD5/176
772s ok 179 /checksum/MD5/177
772s ok 180 /checksum/MD5/178
772s ok 181 /checksum/MD5/179
772s ok 182 /checksum/MD5/180
772s ok 183 /checksum/MD5/181
772s ok 184 /checksum/MD5/182
772s ok 185 /checksum/MD5/183
772s ok 186 /checksum/MD5/string
772s ok 187 /checksum/MD5/bytes
772s # Start of reset tests
772s ok 188 /checksum/MD5/reset/0
772s ok 189 /checksum/MD5/reset/1
772s ok 190 /checksum/MD5/reset/2
772s ok 191 /checksum/MD5/reset/3
772s ok 192 /checksum/MD5/reset/4
772s ok 193 /checksum/MD5/reset/5
772s ok 194 /checksum/MD5/reset/6
772s ok 195 /checksum/MD5/reset/7
772s ok 196 /checksum/MD5/reset/8
772s ok 197 /checksum/MD5/reset/9
772s ok 198 /checksum/MD5/reset/10
772s ok 199 /checksum/MD5/reset/11
772s ok 200 /checksum/MD5/reset/12
772s ok 201 /checksum/MD5/reset/13
772s ok 202 /checksum/MD5/reset/14
772s ok 203 /checksum/MD5/reset/15
772s ok 204 /checksum/MD5/reset/16
772s ok 205 /checksum/MD5/reset/17
772s ok 206 /checksum/MD5/reset/18
772s ok 207 /checksum/MD5/reset/19
772s ok 208 /checksum/MD5/reset/20
772s ok 209 /checksum/MD5/reset/21
772s ok 210 /checksum/MD5/reset/22
772s ok 211 /checksum/MD5/reset/23
772s ok 212 /checksum/MD5/reset/24
772s ok 213 /checksum/MD5/reset/25
772s ok 214 /checksum/MD5/reset/26
772s ok 215 /checksum/MD5/reset/27
772s ok 216 /checksum/MD5/reset/28
772s ok 217 /checksum/MD5/reset/29
772s ok 218 /checksum/MD5/reset/30
772s ok 219 /checksum/MD5/reset/31
772s ok 220 /checksum/MD5/reset/32
772s ok 221 /checksum/MD5/reset/33
772s ok 222 /checksum/MD5/reset/34
772s ok 223 /checksum/MD5/reset/35
772s ok 224 /checksum/MD5/reset/36
772s ok 225 /checksum/MD5/reset/37
772s ok 226 /checksum/MD5/reset/38
772s ok 227 /checksum/MD5/reset/39
772s ok 228 /checksum/MD5/reset/40
772s ok 229 /checksum/MD5/reset/41
772s ok 230 /checksum/MD5/reset/42
772s ok 231 /checksum/MD5/reset/43
772s ok 232 /checksum/MD5/reset/44
772s ok 233 /checksum/MD5/reset/45
772s ok 234 /checksum/MD5/reset/46
772s ok 235 /checksum/MD5/reset/47
772s ok 236 /checksum/MD5/reset/48
772s ok 237 /checksum/MD5/reset/49
772s ok 238 /checksum/MD5/reset/50
772s ok 239 /checksum/MD5/reset/51
772s ok 240 /checksum/MD5/reset/52
772s ok 241 /checksum/MD5/reset/53
772s ok 242 /checksum/MD5/reset/54
772s ok 243 /checksum/MD5/reset/55
772s ok 244 /checksum/MD5/reset/56
772s ok 245 /checksum/MD5/reset/57
772s ok 246 /checksum/MD5/reset/58
772s ok 247 /checksum/MD5/reset/59
772s ok 248 /checksum/MD5/reset/60
772s ok 249 /checksum/MD5/reset/61
772s ok 250 /checksum/MD5/reset/62
772s ok 251 /checksum/MD5/reset/63
772s ok 252 /checksum/MD5/reset/64
772s ok 253 /checksum/MD5/reset/65
772s ok 254 /checksum/MD5/reset/66
772s ok 255 /checksum/MD5/reset/67
772s ok 256 /checksum/MD5/reset/68
772s ok 257 /checksum/MD5/reset/69
772s ok 258 /checksum/MD5/reset/70
772s ok 259 /checksum/MD5/reset/71
772s ok 260 /checksum/MD5/reset/72
772s ok 261 /checksum/MD5/reset/73
772s ok 262 /checksum/MD5/reset/74
772s ok 263 /checksum/MD5/reset/75
772s ok 264 /checksum/MD5/reset/76
772s ok 265 /checksum/MD5/reset/77
772s ok 266 /checksum/MD5/reset/78
772s ok 267 /checksum/MD5/reset/79
772s ok 268 /checksum/MD5/reset/80
772s ok 269 /checksum/MD5/reset/81
772s ok 270 /checksum/MD5/reset/82
772s ok 271 /checksum/MD5/reset/83
772s ok 272 /checksum/MD5/reset/84
772s ok 273 /checksum/MD5/reset/85
772s ok 274 /checksum/MD5/reset/86
772s ok 275 /checksum/MD5/reset/87
772s ok 276 /checksum/MD5/reset/88
772s ok 277 /checksum/MD5/reset/89
772s ok 278 /checksum/MD5/reset/90
772s ok 279 /checksum/MD5/reset/91
772s ok 280 /checksum/MD5/reset/92
772s ok 281 /checksum/MD5/reset/93
772s ok 282 /checksum/MD5/reset/94
772s ok 283 /checksum/MD5/reset/95
772s ok 284 /checksum/MD5/reset/96
772s ok 285 /checksum/MD5/reset/97
772s ok 286 /checksum/MD5/reset/98
772s ok 287 /checksum/MD5/reset/99
772s ok 288 /checksum/MD5/reset/100
772s ok 289 /checksum/MD5/reset/101
772s ok 290 /checksum/MD5/reset/102
772s ok 291 /checksum/MD5/reset/103
772s ok 292 /checksum/MD5/reset/104
772s ok 293 /checksum/MD5/reset/105
772s ok 294 /checksum/MD5/reset/106
772s ok 295 /checksum/MD5/reset/107
772s ok 296 /checksum/MD5/reset/108
772s ok 297 /checksum/MD5/reset/109
772s ok 298 /checksum/MD5/reset/110
772s ok 299 /checksum/MD5/reset/111
772s ok 300 /checksum/MD5/reset/112
772s ok 301 /checksum/MD5/reset/113
772s ok 302 /checksum/MD5/reset/114
772s ok 303 /checksum/MD5/reset/115
772s ok 304 /checksum/MD5/reset/116
772s ok 305 /checksum/MD5/reset/117
772s ok 306 /checksum/MD5/reset/118
772s ok 307 /checksum/MD5/reset/119
772s ok 308 /checksum/MD5/reset/120
772s ok 309 /checksum/MD5/reset/121
772s ok 310 /checksum/MD5/reset/122
772s ok 311 /checksum/MD5/reset/123
772s ok 312 /checksum/MD5/reset/124
772s ok 313 /checksum/MD5/reset/125
772s ok 314 /checksum/MD5/reset/126
772s ok 315 /checksum/MD5/reset/127
772s ok 316 /checksum/MD5/reset/128
772s ok 317 /checksum/MD5/reset/129
772s ok 318 /checksum/MD5/reset/130
772s ok 319 /checksum/MD5/reset/131
772s ok 320 /checksum/MD5/reset/132
772s ok 321 /checksum/MD5/reset/133
772s ok 322 /checksum/MD5/reset/134
772s ok 323 /checksum/MD5/reset/135
772s ok 324 /checksum/MD5/reset/136
772s ok 325 /checksum/MD5/reset/137
772s ok 326 /checksum/MD5/reset/138
772s ok 327 /checksum/MD5/reset/139
772s ok 328 /checksum/MD5/reset/140
772s ok 329 /checksum/MD5/reset/141
772s ok 330 /checksum/MD5/reset/142
772s ok 331 /checksum/MD5/reset/143
772s ok 332 /checksum/MD5/reset/144
772s ok 333 /checksum/MD5/reset/145
772s ok 334 /checksum/MD5/reset/146
772s ok 335 /checksum/MD5/reset/147
772s ok 336 /checksum/MD5/reset/148
772s ok 337 /checksum/MD5/reset/149
772s ok 338 /checksum/MD5/reset/150
772s ok 339 /checksum/MD5/reset/151
772s ok 340 /checksum/MD5/reset/152
772s ok 341 /checksum/MD5/reset/153
772s ok 342 /checksum/MD5/reset/154
772s ok 343 /checksum/MD5/reset/155
772s ok 344 /checksum/MD5/reset/156
772s ok 345 /checksum/MD5/reset/157
772s ok 346 /checksum/MD5/reset/158
772s ok 347 /checksum/MD5/reset/159
772s ok 348 /checksum/MD5/reset/160
772s ok 349 /checksum/MD5/reset/161
772s ok 350 /checksum/MD5/reset/162
772s ok 351 /checksum/MD5/reset/163
772s ok 352 /checksum/MD5/reset/164
772s ok 353 /checksum/MD5/reset/165
772s ok 354 /checksum/MD5/reset/166
772s ok 355 /checksum/MD5/reset/167
772s ok 356 /checksum/MD5/reset/168
772s ok 357 /checksum/MD5/reset/169
772s ok 358 /checksum/MD5/reset/170
772s ok 359 /checksum/MD5/reset/171
772s ok 360 /checksum/MD5/reset/172
772s ok 361 /checksum/MD5/reset/173
772s ok 362 /checksum/MD5/reset/174
772s ok 363 /checksum/MD5/reset/175
772s ok 364 /checksum/MD5/reset/176
772s ok 365 /checksum/MD5/reset/177
772s ok 366 /checksum/MD5/reset/178
772s ok 367 /checksum/MD5/reset/179
772s ok 368 /checksum/MD5/reset/180
772s ok 369 /checksum/MD5/reset/181
772s ok 370 /checksum/MD5/reset/182
772s ok 371 /checksum/MD5/reset/183
772s # End of reset tests
772s # End of MD5 tests
772s # Start of SHA1 tests
772s ok 372 /checksum/SHA1/0
772s ok 373 /checksum/SHA1/1
772s ok 374 /checksum/SHA1/2
772s ok 375 /checksum/SHA1/3
772s ok 376 /checksum/SHA1/4
772s ok 377 /checksum/SHA1/5
772s ok 378 /checksum/SHA1/6
772s ok 379 /checksum/SHA1/7
772s ok 380 /checksum/SHA1/8
772s ok 381 /checksum/SHA1/9
772s ok 382 /checksum/SHA1/10
772s ok 383 /checksum/SHA1/11
772s ok 384 /checksum/SHA1/12
772s ok 385 /checksum/SHA1/13
772s ok 386 /checksum/SHA1/14
772s ok 387 /checksum/SHA1/15
772s ok 388 /checksum/SHA1/16
772s ok 389 /checksum/SHA1/17
772s ok 390 /checksum/SHA1/18
772s ok 391 /checksum/SHA1/19
772s ok 392 /checksum/SHA1/20
772s ok 393 /checksum/SHA1/21
772s ok 394 /checksum/SHA1/22
772s ok 395 /checksum/SHA1/23
772s ok 396 /checksum/SHA1/24
772s ok 397 /checksum/SHA1/25
772s ok 398 /checksum/SHA1/26
772s ok 399 /checksum/SHA1/27
772s ok 400 /checksum/SHA1/28
772s ok 401 /checksum/SHA1/29
772s ok 402 /checksum/SHA1/30
772s ok 403 /checksum/SHA1/31
772s ok 404 /checksum/SHA1/32
772s ok 405 /checksum/SHA1/33
772s ok 406 /checksum/SHA1/34
772s ok 407 /checksum/SHA1/35
772s ok 408 /checksum/SHA1/36
772s ok 409 /checksum/SHA1/37
772s ok 410 /checksum/SHA1/38
772s ok 411 /checksum/SHA1/39
772s ok 412 /checksum/SHA1/40
772s ok 413 /checksum/SHA1/41
772s ok 414 /checksum/SHA1/42
772s ok 415 /checksum/SHA1/43
772s ok 416 /checksum/SHA1/44
772s ok 417 /checksum/SHA1/45
772s ok 418 /checksum/SHA1/46
772s ok 419 /checksum/SHA1/47
772s ok 420 /checksum/SHA1/48
772s ok 421 /checksum/SHA1/49
772s ok 422 /checksum/SHA1/50
772s ok 423 /checksum/SHA1/51
772s ok 424 /checksum/SHA1/52
772s ok 425 /checksum/SHA1/53
772s ok 426 /checksum/SHA1/54
772s ok 427 /checksum/SHA1/55
772s ok 428 /checksum/SHA1/56
772s ok 429 /checksum/SHA1/57
772s ok 430 /checksum/SHA1/58
772s ok 431 /checksum/SHA1/59
772s ok 432 /checksum/SHA1/60
772s ok 433 /checksum/SHA1/61
772s ok 434 /checksum/SHA1/62
772s ok 435 /checksum/SHA1/63
772s ok 436 /checksum/SHA1/64
772s ok 437 /checksum/SHA1/65
772s ok 438 /checksum/SHA1/66
772s ok 439 /checksum/SHA1/67
772s ok 440 /checksum/SHA1/68
772s ok 441 /checksum/SHA1/69
772s ok 442 /checksum/SHA1/70
772s ok 443 /checksum/SHA1/71
772s ok 444 /checksum/SHA1/72
772s ok 445 /checksum/SHA1/73
772s ok 446 /checksum/SHA1/74
772s ok 447 /checksum/SHA1/75
772s ok 448 /checksum/SHA1/76
772s ok 449 /checksum/SHA1/77
772s ok 450 /checksum/SHA1/78
772s ok 451 /checksum/SHA1/79
772s ok 452 /checksum/SHA1/80
772s ok 453 /checksum/SHA1/81
772s ok 454 /checksum/SHA1/82
772s ok 455 /checksum/SHA1/83
772s ok 456 /checksum/SHA1/84
772s ok 457 /checksum/SHA1/85
772s ok 458 /checksum/SHA1/86
772s ok 459 /checksum/SHA1/87
772s ok 460 /checksum/SHA1/88
772s ok 461 /checksum/SHA1/89
772s ok 462 /checksum/SHA1/90
772s ok 463 /checksum/SHA1/91
772s ok 464 /checksum/SHA1/92
772s ok 465 /checksum/SHA1/93
772s ok 466 /checksum/SHA1/94
772s ok 467 /checksum/SHA1/95
772s ok 468 /checksum/SHA1/96
772s ok 469 /checksum/SHA1/97
772s ok 470 /checksum/SHA1/98
772s ok 471 /checksum/SHA1/99
772s ok 472 /checksum/SHA1/100
772s ok 473 /checksum/SHA1/101
772s ok 474 /checksum/SHA1/102
772s ok 475 /checksum/SHA1/103
772s ok 476 /checksum/SHA1/104
772s ok 477 /checksum/SHA1/105
772s ok 478 /checksum/SHA1/106
772s ok 479 /checksum/SHA1/107
772s ok 480 /checksum/SHA1/108
772s ok 481 /checksum/SHA1/109
772s ok 482 /checksum/SHA1/110
772s ok 483 /checksum/SHA1/111
772s ok 484 /checksum/SHA1/112
772s ok 485 /checksum/SHA1/113
772s ok 486 /checksum/SHA1/114
772s ok 487 /checksum/SHA1/115
772s ok 488 /checksum/SHA1/116
772s ok 489 /checksum/SHA1/117
772s ok 490 /checksum/SHA1/118
772s ok 491 /checksum/SHA1/119
772s ok 492 /checksum/SHA1/120
772s ok 493 /checksum/SHA1/121
772s ok 494 /checksum/SHA1/122
772s ok 495 /checksum/SHA1/123
772s ok 496 /checksum/SHA1/124
772s ok 497 /checksum/SHA1/125
772s ok 498 /checksum/SHA1/126
772s ok 499 /checksum/SHA1/127
772s ok 500 /checksum/SHA1/128
772s ok 501 /checksum/SHA1/129
772s ok 502 /checksum/SHA1/130
772s ok 503 /checksum/SHA1/131
772s ok 504 /checksum/SHA1/132
772s ok 505 /checksum/SHA1/133
772s ok 506 /checksum/SHA1/134
772s ok 507 /checksum/SHA1/135
772s ok 508 /checksum/SHA1/136
772s ok 509 /checksum/SHA1/137
772s ok 510 /checksum/SHA1/138
772s ok 511 /checksum/SHA1/139
772s ok 512 /checksum/SHA1/140
772s ok 513 /checksum/SHA1/141
772s ok 514 /checksum/SHA1/142
772s ok 515 /checksum/SHA1/143
772s ok 516 /checksum/SHA1/144
772s ok 517 /checksum/SHA1/145
772s ok 518 /checksum/SHA1/146
772s ok 519 /checksum/SHA1/147
772s ok 520 /checksum/SHA1/148
772s ok 521 /checksum/SHA1/149
772s ok 522 /checksum/SHA1/150
772s ok 523 /checksum/SHA1/151
772s ok 524 /checksum/SHA1/152
772s ok 525 /checksum/SHA1/153
772s ok 526 /checksum/SHA1/154
772s ok 527 /checksum/SHA1/155
772s ok 528 /checksum/SHA1/156
772s ok 529 /checksum/SHA1/157
772s ok 530 /checksum/SHA1/158
772s ok 531 /checksum/SHA1/159
772s ok 532 /checksum/SHA1/160
772s ok 533 /checksum/SHA1/161
772s ok 534 /checksum/SHA1/162
772s ok 535 /checksum/SHA1/163
772s ok 536 /checksum/SHA1/164
772s ok 537 /checksum/SHA1/165
772s ok 538 /checksum/SHA1/166
772s ok 539 /checksum/SHA1/167
772s ok 540 /checksum/SHA1/168
772s ok 541 /checksum/SHA1/169
772s ok 542 /checksum/SHA1/170
772s ok 543 /checksum/SHA1/171
772s ok 544 /checksum/SHA1/172
772s ok 545 /checksum/SHA1/173
772s ok 546 /checksum/SHA1/174
772s ok 547 /checksum/SHA1/175
772s ok 548 /checksum/SHA1/176
772s ok 549 /checksum/SHA1/177
772s ok 550 /checksum/SHA1/178
772s ok 551 /checksum/SHA1/179
772s ok 552 /checksum/SHA1/180
772s ok 553 /checksum/SHA1/181
772s ok 554 /checksum/SHA1/182
772s ok 555 /checksum/SHA1/183
772s ok 556 /checksum/SHA1/string
772s ok 557 /checksum/SHA1/bytes
772s # Start of reset tests
772s ok 558 /checksum/SHA1/reset/0
772s ok 559 /checksum/SHA1/reset/1
772s ok 560 /checksum/SHA1/reset/2
772s ok 561 /checksum/SHA1/reset/3
772s ok 562 /checksum/SHA1/reset/4
772s ok 563 /checksum/SHA1/reset/5
772s ok 564 /checksum/SHA1/reset/6
772s ok 565 /checksum/SHA1/reset/7
772s ok 566 /checksum/SHA1/reset/8
772s ok 567 /checksum/SHA1/reset/9
772s ok 568 /checksum/SHA1/reset/10
772s ok 569 /checksum/SHA1/reset/11
772s ok 570 /checksum/SHA1/reset/12
772s ok 571 /checksum/SHA1/reset/13
772s ok 572 /checksum/SHA1/reset/14
772s ok 573 /checksum/SHA1/reset/15
772s ok 574 /checksum/SHA1/reset/16
772s ok 575 /checksum/SHA1/reset/17
772s ok 576 /checksum/SHA1/reset/18
772s ok 577 /checksum/SHA1/reset/19
772s ok 578 /checksum/SHA1/reset/20
772s ok 579 /checksum/SHA1/reset/21
772s ok 580 /checksum/SHA1/reset/22
772s ok 581 /checksum/SHA1/reset/23
772s ok 582 /checksum/SHA1/reset/24
772s ok 583 /checksum/SHA1/reset/25
772s ok 584 /checksum/SHA1/reset/26
772s ok 585 /checksum/SHA1/reset/27
772s ok 586 /checksum/SHA1/reset/28
772s ok 587 /checksum/SHA1/reset/29
772s ok 588 /checksum/SHA1/reset/30
772s ok 589 /checksum/SHA1/reset/31
772s ok 590 /checksum/SHA1/reset/32
772s ok 591 /checksum/SHA1/reset/33
772s ok 592 /checksum/SHA1/reset/34
772s ok 593 /checksum/SHA1/reset/35
772s ok 594 /checksum/SHA1/reset/36
772s ok 595 /checksum/SHA1/reset/37
772s ok 596 /checksum/SHA1/reset/38
772s ok 597 /checksum/SHA1/reset/39
772s ok 598 /checksum/SHA1/reset/40
772s ok 599 /checksum/SHA1/reset/41
772s ok 600 /checksum/SHA1/reset/42
772s ok 601 /checksum/SHA1/reset/43
772s ok 602 /checksum/SHA1/reset/44
772s ok 603 /checksum/SHA1/reset/45
772s ok 604 /checksum/SHA1/reset/46
772s ok 605 /checksum/SHA1/reset/47
772s ok 606 /checksum/SHA1/reset/48
772s ok 607 /checksum/SHA1/reset/49
772s ok 608 /checksum/SHA1/reset/50
772s ok 609 /checksum/SHA1/reset/51
772s ok 610 /checksum/SHA1/reset/52
772s ok 611 /checksum/SHA1/reset/53
772s ok 612 /checksum/SHA1/reset/54
772s ok 613 /checksum/SHA1/reset/55
772s ok 614 /checksum/SHA1/reset/56
772s ok 615 /checksum/SHA1/reset/57
772s ok 616 /checksum/SHA1/reset/58
772s ok 617 /checksum/SHA1/reset/59
772s ok 618 /checksum/SHA1/reset/60
772s ok 619 /checksum/SHA1/reset/61
772s ok 620 /checksum/SHA1/reset/62
772s ok 621 /checksum/SHA1/reset/63
772s ok 622 /checksum/SHA1/reset/64
772s ok 623 /checksum/SHA1/reset/65
772s ok 624 /checksum/SHA1/reset/66
772s ok 625 /checksum/SHA1/reset/67
772s ok 626 /checksum/SHA1/reset/68
772s ok 627 /checksum/SHA1/reset/69
772s ok 628 /checksum/SHA1/reset/70
772s ok 629 /checksum/SHA1/reset/71
772s ok 630 /checksum/SHA1/reset/72
772s ok 631 /checksum/SHA1/reset/73
772s ok 632 /checksum/SHA1/reset/74
772s ok 633 /checksum/SHA1/reset/75
772s ok 634 /checksum/SHA1/reset/76
772s ok 635 /checksum/SHA1/reset/77
772s ok 636 /checksum/SHA1/reset/78
772s ok 637 /checksum/SHA1/reset/79
772s ok 638 /checksum/SHA1/reset/80
772s ok 639 /checksum/SHA1/reset/81
772s ok 640 /checksum/SHA1/reset/82
772s ok 641 /checksum/SHA1/reset/83
772s ok 642 /checksum/SHA1/reset/84
772s ok 643 /checksum/SHA1/reset/85
772s ok 644 /checksum/SHA1/reset/86
772s ok 645 /checksum/SHA1/reset/87
772s ok 646 /checksum/SHA1/reset/88
772s ok 647 /checksum/SHA1/reset/89
772s ok 648 /checksum/SHA1/reset/90
772s ok 649 /checksum/SHA1/reset/91
772s ok 650 /checksum/SHA1/reset/92
772s ok 651 /checksum/SHA1/reset/93
772s ok 652 /checksum/SHA1/reset/94
772s ok 653 /checksum/SHA1/reset/95
772s ok 654 /checksum/SHA1/reset/96
772s ok 655 /checksum/SHA1/reset/97
772s ok 656 /checksum/SHA1/reset/98
772s ok 657 /checksum/SHA1/reset/99
772s ok 658 /checksum/SHA1/reset/100
772s ok 659 /checksum/SHA1/reset/101
772s ok 660 /checksum/SHA1/reset/102
772s ok 661 /checksum/SHA1/reset/103
772s ok 662 /checksum/SHA1/reset/104
772s ok 663 /checksum/SHA1/reset/105
772s ok 664 /checksum/SHA1/reset/106
772s ok 665 /checksum/SHA1/reset/107
772s ok 666 /checksum/SHA1/reset/108
772s ok 667 /checksum/SHA1/reset/109
772s ok 668 /checksum/SHA1/reset/110
772s ok 669 /checksum/SHA1/reset/111
772s ok 670 /checksum/SHA1/reset/112
772s ok 671 /checksum/SHA1/reset/113
772s ok 672 /checksum/SHA1/reset/114
772s ok 673 /checksum/SHA1/reset/115
772s ok 674 /checksum/SHA1/reset/116
772s ok 675 /checksum/SHA1/reset/117
772s ok 676 /checksum/SHA1/reset/118
772s ok 677 /checksum/SHA1/reset/119
772s ok 678 /checksum/SHA1/reset/120
772s ok 679 /checksum/SHA1/reset/121
772s ok 680 /checksum/SHA1/reset/122
772s ok 681 /checksum/SHA1/reset/123
772s ok 682 /checksum/SHA1/reset/124
772s ok 683 /checksum/SHA1/reset/125
772s ok 684 /checksum/SHA1/reset/126
772s ok 685 /checksum/SHA1/reset/127
772s ok 686 /checksum/SHA1/reset/128
772s ok 687 /checksum/SHA1/reset/129
772s ok 688 /checksum/SHA1/reset/130
772s ok 689 /checksum/SHA1/reset/131
772s ok 690 /checksum/SHA1/reset/132
772s ok 691 /checksum/SHA1/reset/133
772s ok 692 /checksum/SHA1/reset/134
772s ok 693 /checksum/SHA1/reset/135
772s ok 694 /checksum/SHA1/reset/136
772s ok 695 /checksum/SHA1/reset/137
772s ok 696 /checksum/SHA1/reset/138
772s ok 697 /checksum/SHA1/reset/139
772s ok 698 /checksum/SHA1/reset/140
772s ok 699 /checksum/SHA1/reset/141
772s ok 700 /checksum/SHA1/reset/142
772s ok 701 /checksum/SHA1/reset/143
772s ok 702 /checksum/SHA1/reset/144
772s ok 703 /checksum/SHA1/reset/145
772s ok 704 /checksum/SHA1/reset/146
772s ok 705 /checksum/SHA1/reset/147
772s ok 706 /checksum/SHA1/reset/148
772s ok 707 /checksum/SHA1/reset/149
772s ok 708 /checksum/SHA1/reset/150
772s ok 709 /checksum/SHA1/reset/151
772s ok 710 /checksum/SHA1/reset/152
772s ok 711 /checksum/SHA1/reset/153
772s ok 712 /checksum/SHA1/reset/154
772s ok 713 /checksum/SHA1/reset/155
772s ok 714 /checksum/SHA1/reset/156
772s ok 715 /checksum/SHA1/reset/157
772s ok 716 /checksum/SHA1/reset/158
772s ok 717 /checksum/SHA1/reset/159
772s ok 718 /checksum/SHA1/reset/160
772s ok 719 /checksum/SHA1/reset/161
772s ok 720 /checksum/SHA1/reset/162
772s ok 721 /checksum/SHA1/reset/163
772s ok 722 /checksum/SHA1/reset/164
772s ok 723 /checksum/SHA1/reset/165
772s ok 724 /checksum/SHA1/reset/166
772s ok 725 /checksum/SHA1/reset/167
772s ok 726 /checksum/SHA1/reset/168
772s ok 727 /checksum/SHA1/reset/169
772s ok 728 /checksum/SHA1/reset/170
772s ok 729 /checksum/SHA1/reset/171
772s ok 730 /checksum/SHA1/reset/172
772s ok 731 /checksum/SHA1/reset/173
772s ok 732 /checksum/SHA1/reset/174
772s ok 733 /checksum/SHA1/reset/175
772s ok 734 /checksum/SHA1/reset/176
772s ok 735 /checksum/SHA1/reset/177
772s ok 736 /checksum/SHA1/reset/178
772s ok 737 /checksum/SHA1/reset/179
772s ok 738 /checksum/SHA1/reset/180
772s ok 739 /checksum/SHA1/reset/181
772s ok 740 /checksum/SHA1/reset/182
772s ok 741 /checksum/SHA1/reset/183
772s # End of reset tests
772s # End of SHA1 tests
772s # Start of SHA256 tests
772s ok 742 /checksum/SHA256/0
772s ok 743 /checksum/SHA256/1
772s ok 744 /checksum/SHA256/2
772s ok 745 /checksum/SHA256/3
772s ok 746 /checksum/SHA256/4
772s ok 747 /checksum/SHA256/5
772s ok 748 /checksum/SHA256/6
772s ok 749 /checksum/SHA256/7
772s ok 750 /checksum/SHA256/8
772s ok 751 /checksum/SHA256/9
772s ok 752 /checksum/SHA256/10
772s ok 753 /checksum/SHA256/11
772s ok 754 /checksum/SHA256/12
772s ok 755 /checksum/SHA256/13
772s ok 756 /checksum/SHA256/14
772s ok 757 /checksum/SHA256/15
772s ok 758 /checksum/SHA256/16
772s ok 759 /checksum/SHA256/17
772s ok 760 /checksum/SHA256/18
772s ok 761 /checksum/SHA256/19
772s ok 762 /checksum/SHA256/20
772s ok 763 /checksum/SHA256/21
772s ok 764 /checksum/SHA256/22
772s ok 765 /checksum/SHA256/23
772s ok 766 /checksum/SHA256/24
772s ok 767 /checksum/SHA256/25
772s ok 768 /checksum/SHA256/26
772s ok 769 /checksum/SHA256/27
772s ok 770 /checksum/SHA256/28
772s ok 771 /checksum/SHA256/29
772s ok 772 /checksum/SHA256/30
772s ok 773 /checksum/SHA256/31
772s ok 774 /checksum/SHA256/32
772s ok 775 /checksum/SHA256/33
772s ok 776 /checksum/SHA256/34
772s ok 777 /checksum/SHA256/35
772s ok 778 /checksum/SHA256/36
772s ok 779 /checksum/SHA256/37
772s ok 780 /checksum/SHA256/38
772s ok 781 /checksum/SHA256/39
772s ok 782 /checksum/SHA256/40
772s ok 783 /checksum/SHA256/41
772s ok 784 /checksum/SHA256/42
772s ok 785 /checksum/SHA256/43
772s ok 786 /checksum/SHA256/44
772s ok 787 /checksum/SHA256/45
772s ok 788 /checksum/SHA256/46
772s ok 789 /checksum/SHA256/47
772s ok 790 /checksum/SHA256/48
772s ok 791 /checksum/SHA256/49
772s ok 792 /checksum/SHA256/50
772s ok 793 /checksum/SHA256/51
772s ok 794 /checksum/SHA256/52
772s ok 795 /checksum/SHA256/53
772s ok 796 /checksum/SHA256/54
772s ok 797 /checksum/SHA256/55
772s ok 798 /checksum/SHA256/56
772s ok 799 /checksum/SHA256/57
772s ok 800 /checksum/SHA256/58
772s ok 801 /checksum/SHA256/59
772s ok 802 /checksum/SHA256/60
772s ok 803 /checksum/SHA256/61
772s ok 804 /checksum/SHA256/62
772s ok 805 /checksum/SHA256/63
772s ok 806 /checksum/SHA256/64
772s ok 807 /checksum/SHA256/65
772s ok 808 /checksum/SHA256/66
772s ok 809 /checksum/SHA256/67
772s ok 810 /checksum/SHA256/68
772s ok 811 /checksum/SHA256/69
772s ok 812 /checksum/SHA256/70
772s ok 813 /checksum/SHA256/71
772s ok 814 /checksum/SHA256/72
772s ok 815 /checksum/SHA256/73
772s ok 816 /checksum/SHA256/74
772s ok 817 /checksum/SHA256/75
772s ok 818 /checksum/SHA256/76
772s ok 819 /checksum/SHA256/77
772s ok 820 /checksum/SHA256/78
772s ok 821 /checksum/SHA256/79
772s ok 822 /checksum/SHA256/80
772s ok 823 /checksum/SHA256/81
772s ok 824 /checksum/SHA256/82
772s ok 825 /checksum/SHA256/83
772s ok 826 /checksum/SHA256/84
772s ok 827 /checksum/SHA256/85
772s ok 828 /checksum/SHA256/86
772s ok 829 /checksum/SHA256/87
772s ok 830 /checksum/SHA256/88
772s ok 831 /checksum/SHA256/89
772s ok 832 /checksum/SHA256/90
772s ok 833 /checksum/SHA256/91
772s ok 834 /checksum/SHA256/92
772s ok 835 /checksum/SHA256/93
772s ok 836 /checksum/SHA256/94
772s ok 837 /checksum/SHA256/95
772s ok 838 /checksum/SHA256/96
772s ok 839 /checksum/SHA256/97
772s ok 840 /checksum/SHA256/98
772s ok 841 /checksum/SHA256/99
772s ok 842 /checksum/SHA256/100
772s ok 843 /checksum/SHA256/101
772s ok 844 /checksum/SHA256/102
772s ok 845 /checksum/SHA256/103
772s ok 846 /checksum/SHA256/104
772s ok 847 /checksum/SHA256/105
772s ok 848 /checksum/SHA256/106
772s ok 849 /checksum/SHA256/107
772s ok 850 /checksum/SHA256/108
772s ok 851 /checksum/SHA256/109
772s ok 852 /checksum/SHA256/110
772s ok 853 /checksum/SHA256/111
772s ok 854 /checksum/SHA256/112
772s ok 855 /checksum/SHA256/113
772s ok 856 /checksum/SHA256/114
772s ok 857 /checksum/SHA256/115
772s ok 858 /checksum/SHA256/116
772s ok 859 /checksum/SHA256/117
772s ok 860 /checksum/SHA256/118
772s ok 861 /checksum/SHA256/119
772s ok 862 /checksum/SHA256/120
772s ok 863 /checksum/SHA256/121
772s ok 864 /checksum/SHA256/122
772s ok 865 /checksum/SHA256/123
772s ok 866 /checksum/SHA256/124
772s ok 867 /checksum/SHA256/125
772s ok 868 /checksum/SHA256/126
772s ok 869 /checksum/SHA256/127
772s ok 870 /checksum/SHA256/128
772s ok 871 /checksum/SHA256/129
772s ok 872 /checksum/SHA256/130
772s ok 873 /checksum/SHA256/131
772s ok 874 /checksum/SHA256/132
772s ok 875 /checksum/SHA256/133
772s ok 876 /checksum/SHA256/134
772s ok 877 /checksum/SHA256/135
772s ok 878 /checksum/SHA256/136
772s ok 879 /checksum/SHA256/137
772s ok 880 /checksum/SHA256/138
772s ok 881 /checksum/SHA256/139
772s ok 882 /checksum/SHA256/140
772s ok 883 /checksum/SHA256/141
772s ok 884 /checksum/SHA256/142
772s ok 885 /checksum/SHA256/143
772s ok 886 /checksum/SHA256/144
772s ok 887 /checksum/SHA256/145
772s ok 888 /checksum/SHA256/146
772s ok 889 /checksum/SHA256/147
772s ok 890 /checksum/SHA256/148
772s ok 891 /checksum/SHA256/149
772s ok 892 /checksum/SHA256/150
772s ok 893 /checksum/SHA256/151
772s ok 894 /checksum/SHA256/152
772s ok 895 /checksum/SHA256/153
772s ok 896 /checksum/SHA256/154
772s ok 897 /checksum/SHA256/155
772s ok 898 /checksum/SHA256/156
772s ok 899 /checksum/SHA256/157
772s ok 900 /checksum/SHA256/158
772s ok 901 /checksum/SHA256/159
772s ok 902 /checksum/SHA256/160
772s ok 903 /checksum/SHA256/161
772s ok 904 /checksum/SHA256/162
772s ok 905 /checksum/SHA256/163
772s ok 906 /checksum/SHA256/164
772s ok 907 /checksum/SHA256/165
772s ok 908 /checksum/SHA256/166
772s ok 909 /checksum/SHA256/167
772s ok 910 /checksum/SHA256/168
772s ok 911 /checksum/SHA256/169
772s ok 912 /checksum/SHA256/170
772s ok 913 /checksum/SHA256/171
772s ok 914 /checksum/SHA256/172
772s ok 915 /checksum/SHA256/173
772s ok 916 /checksum/SHA256/174
772s ok 917 /checksum/SHA256/175
772s ok 918 /checksum/SHA256/176
772s ok 919 /checksum/SHA256/177
772s ok 920 /checksum/SHA256/178
772s ok 921 /checksum/SHA256/179
772s ok 922 /checksum/SHA256/180
772s ok 923 /checksum/SHA256/181
772s ok 924 /checksum/SHA256/182
772s ok 925 /checksum/SHA256/183
772s ok 926 /checksum/SHA256/string
772s ok 927 /checksum/SHA256/bytes
772s # Start of reset tests
772s ok 928 /checksum/SHA256/reset/0
772s ok 929 /checksum/SHA256/reset/1
772s ok 930 /checksum/SHA256/reset/2
772s ok 931 /checksum/SHA256/reset/3
772s ok 932 /checksum/SHA256/reset/4
772s ok 933 /checksum/SHA256/reset/5
772s ok 934 /checksum/SHA256/reset/6
772s ok 935 /checksum/SHA256/reset/7
772s ok 936 /checksum/SHA256/reset/8
772s ok 937 /checksum/SHA256/reset/9
772s ok 938 /checksum/SHA256/reset/10
772s ok 939 /checksum/SHA256/reset/11
772s ok 940 /checksum/SHA256/reset/12
772s ok 941 /checksum/SHA256/reset/13
772s ok 942 /checksum/SHA256/reset/14
772s ok 943 /checksum/SHA256/reset/15
772s ok 944 /checksum/SHA256/reset/16
772s ok 945 /checksum/SHA256/reset/17
772s ok 946 /checksum/SHA256/reset/18
772s ok 947 /checksum/SHA256/reset/19
772s ok 948 /checksum/SHA256/reset/20
772s ok 949 /checksum/SHA256/reset/21
772s ok 950 /checksum/SHA256/reset/22
772s ok 951 /checksum/SHA256/reset/23
772s ok 952 /checksum/SHA256/reset/24
772s ok 953 /checksum/SHA256/reset/25
772s ok 954 /checksum/SHA256/reset/26
772s ok 955 /checksum/SHA256/reset/27
772s ok 956 /checksum/SHA256/reset/28
772s ok 957 /checksum/SHA256/reset/29
772s ok 958 /checksum/SHA256/reset/30
772s ok 959 /checksum/SHA256/reset/31
772s ok 960 /checksum/SHA256/reset/32
772s ok 961 /checksum/SHA256/reset/33
772s ok 962 /checksum/SHA256/reset/34
772s ok 963 /checksum/SHA256/reset/35
772s ok 964 /checksum/SHA256/reset/36
772s ok 965 /checksum/SHA256/reset/37
772s ok 966 /checksum/SHA256/reset/38
772s ok 967 /checksum/SHA256/reset/39
772s ok 968 /checksum/SHA256/reset/40
772s ok 969 /checksum/SHA256/reset/41
772s ok 970 /checksum/SHA256/reset/42
772s ok 971 /checksum/SHA256/reset/43
772s ok 972 /checksum/SHA256/reset/44
772s ok 973 /checksum/SHA256/reset/45
772s ok 974 /checksum/SHA256/reset/46
772s ok 975 /checksum/SHA256/reset/47
772s ok 976 /checksum/SHA256/reset/48
772s ok 977 /checksum/SHA256/reset/49
772s ok 978 /checksum/SHA256/reset/50
772s ok 979 /checksum/SHA256/reset/51
772s ok 980 /checksum/SHA256/reset/52
772s ok 981 /checksum/SHA256/reset/53
772s ok 982 /checksum/SHA256/reset/54
772s ok 983 /checksum/SHA256/reset/55
772s ok 984 /checksum/SHA256/reset/56
772s ok 985 /checksum/SHA256/reset/57
772s ok 986 /checksum/SHA256/reset/58
772s ok 987 /checksum/SHA256/reset/59
772s ok 988 /checksum/SHA256/reset/60
772s ok 989 /checksum/SHA256/reset/61
772s ok 990 /checksum/SHA256/reset/62
772s ok 991 /checksum/SHA256/reset/63
772s ok 992 /checksum/SHA256/reset/64
772s ok 993 /checksum/SHA256/reset/65
772s ok 994 /checksum/SHA256/reset/66
772s ok 995 /checksum/SHA256/reset/67
772s ok 996 /checksum/SHA256/reset/68
772s ok 997 /checksum/SHA256/reset/69
772s ok 998 /checksum/SHA256/reset/70
772s ok 999 /checksum/SHA256/reset/71
772s ok 1000 /checksum/SHA256/reset/72
772s ok 1001 /checksum/SHA256/reset/73
772s ok 1002 /checksum/SHA256/reset/74
772s ok 1003 /checksum/SHA256/reset/75
772s ok 1004 /checksum/SHA256/reset/76
772s ok 1005 /checksum/SHA256/reset/77
772s ok 1006 /checksum/SHA256/reset/78
772s ok 1007 /checksum/SHA256/reset/79
772s ok 1008 /checksum/SHA256/reset/80
772s ok 1009 /checksum/SHA256/reset/81
772s ok 1010 /checksum/SHA256/reset/82
772s ok 1011 /checksum/SHA256/reset/83
772s ok 1012 /checksum/SHA256/reset/84
772s ok 1013 /checksum/SHA256/reset/85
772s ok 1014 /checksum/SHA256/reset/86
772s ok 1015 /checksum/SHA256/reset/87
772s ok 1016 /checksum/SHA256/reset/88
772s ok 1017 /checksum/SHA256/reset/89
772s ok 1018 /checksum/SHA256/reset/90
772s ok 1019 /checksum/SHA256/reset/91
772s ok 1020 /checksum/SHA256/reset/92
772s ok 1021 /checksum/SHA256/reset/93
772s ok 1022 /checksum/SHA256/reset/94
772s ok 1023 /checksum/SHA256/reset/95
772s ok 1024 /checksum/SHA256/reset/96
772s ok 1025 /checksum/SHA256/reset/97
772s ok 1026 /checksum/SHA256/reset/98
772s ok 1027 /checksum/SHA256/reset/99
772s ok 1028 /checksum/SHA256/reset/100
772s ok 1029 /checksum/SHA256/reset/101
772s ok 1030 /checksum/SHA256/reset/102
772s ok 1031 /checksum/SHA256/reset/103
772s ok 1032 /checksum/SHA256/reset/104
772s ok 1033 /checksum/SHA256/reset/105
772s ok 1034 /checksum/SHA256/reset/106
772s ok 1035 /checksum/SHA256/reset/107
772s ok 1036 /checksum/SHA256/reset/108
772s ok 1037 /checksum/SHA256/reset/109
772s ok 1038 /checksum/SHA256/reset/110
772s ok 1039 /checksum/SHA256/reset/111
772s ok 1040 /checksum/SHA256/reset/112
772s ok 1041 /checksum/SHA256/reset/113
772s ok 1042 /checksum/SHA256/reset/114
772s ok 1043 /checksum/SHA256/reset/115
772s ok 1044 /checksum/SHA256/reset/116
772s ok 1045 /checksum/SHA256/reset/117
772s ok 1046 /checksum/SHA256/reset/118
772s ok 1047 /checksum/SHA256/reset/119
772s ok 1048 /checksum/SHA256/reset/120
772s ok 1049 /checksum/SHA256/reset/121
772s ok 1050 /checksum/SHA256/reset/122
772s ok 1051 /checksum/SHA256/reset/123
772s ok 1052 /checksum/SHA256/reset/124
772s ok 1053 /checksum/SHA256/reset/125
772s ok 1054 /checksum/SHA256/reset/126
772s ok 1055 /checksum/SHA256/reset/127
772s ok 1056 /checksum/SHA256/reset/128
772s ok 1057 /checksum/SHA256/reset/129
772s ok 1058 /checksum/SHA256/reset/130
772s ok 1059 /checksum/SHA256/reset/131
772s ok 1060 /checksum/SHA256/reset/132
772s ok 1061 /checksum/SHA256/reset/133
772s ok 1062 /checksum/SHA256/reset/134
772s ok 1063 /checksum/SHA256/reset/135
772s ok 1064 /checksum/SHA256/reset/136
772s ok 1065 /checksum/SHA256/reset/137
772s ok 1066 /checksum/SHA256/reset/138
772s ok 1067 /checksum/SHA256/reset/139
772s ok 1068 /checksum/SHA256/reset/140
772s ok 1069 /checksum/SHA256/reset/141
772s ok 1070 /checksum/SHA256/reset/142
772s ok 1071 /checksum/SHA256/reset/143
772s ok 1072 /checksum/SHA256/reset/144
772s ok 1073 /checksum/SHA256/reset/145
772s ok 1074 /checksum/SHA256/reset/146
772s ok 1075 /checksum/SHA256/reset/147
772s ok 1076 /checksum/SHA256/reset/148
772s ok 1077 /checksum/SHA256/reset/149
772s ok 1078 /checksum/SHA256/reset/150
772s ok 1079 /checksum/SHA256/reset/151
772s ok 1080 /checksum/SHA256/reset/152
772s ok 1081 /checksum/SHA256/reset/153
772s ok 1082 /checksum/SHA256/reset/154
772s ok 1083 /checksum/SHA256/reset/155
772s ok 1084 /checksum/SHA256/reset/156
772s ok 1085 /checksum/SHA256/reset/157
772s ok 1086 /checksum/SHA256/reset/158
772s ok 1087 /checksum/SHA256/reset/159
772s ok 1088 /checksum/SHA256/reset/160
772s ok 1089 /checksum/SHA256/reset/161
772s ok 1090 /checksum/SHA256/reset/162
772s ok 1091 /checksum/SHA256/reset/163
772s ok 1092 /checksum/SHA256/reset/164
772s ok 1093 /checksum/SHA256/reset/165
772s ok 1094 /checksum/SHA256/reset/166
772s ok 1095 /checksum/SHA256/reset/167
772s ok 1096 /checksum/SHA256/reset/168
772s ok 1097 /checksum/SHA256/reset/169
772s ok 1098 /checksum/SHA256/reset/170
772s ok 1099 /checksum/SHA256/reset/171
772s ok 1100 /checksum/SHA256/reset/172
772s ok 1101 /checksum/SHA256/reset/173
772s ok 1102 /checksum/SHA256/reset/174
772s ok 1103 /checksum/SHA256/reset/175
772s ok 1104 /checksum/SHA256/reset/176
772s ok 1105 /checksum/SHA256/reset/177
772s ok 1106 /checksum/SHA256/reset/178
772s ok 1107 /checksum/SHA256/reset/179
772s ok 1108 /checksum/SHA256/reset/180
772s ok 1109 /checksum/SHA256/reset/181
772s ok 1110 /checksum/SHA256/reset/182
772s ok 1111 /checksum/SHA256/reset/183
772s # End of reset tests
772s # End of SHA256 tests
772s # Start of SHA384 tests
772s ok 1112 /checksum/SHA384/0
772s ok 1113 /checksum/SHA384/1
772s ok 1114 /checksum/SHA384/2
772s ok 1115 /checksum/SHA384/3
772s ok 1116 /checksum/SHA384/4
772s ok 1117 /checksum/SHA384/5
772s ok 1118 /checksum/SHA384/6
772s ok 1119 /checksum/SHA384/7
772s ok 1120 /checksum/SHA384/8
772s ok 1121 /checksum/SHA384/9
772s ok 1122 /checksum/SHA384/10
772s ok 1123 /checksum/SHA384/11
772s ok 1124 /checksum/SHA384/12
772s ok 1125 /checksum/SHA384/13
772s ok 1126 /checksum/SHA384/14
772s ok 1127 /checksum/SHA384/15
772s ok 1128 /checksum/SHA384/16
772s ok 1129 /checksum/SHA384/17
772s ok 1130 /checksum/SHA384/18
772s ok 1131 /checksum/SHA384/19
772s ok 1132 /checksum/SHA384/20
772s ok 1133 /checksum/SHA384/21
772s ok 1134 /checksum/SHA384/22
772s ok 1135 /checksum/SHA384/23
772s ok 1136 /checksum/SHA384/24
772s ok 1137 /checksum/SHA384/25
772s ok 1138 /checksum/SHA384/26
772s ok 1139 /checksum/SHA384/27
772s ok 1140 /checksum/SHA384/28
772s ok 1141 /checksum/SHA384/29
772s ok 1142 /checksum/SHA384/30
772s ok 1143 /checksum/SHA384/31
772s ok 1144 /checksum/SHA384/32
772s ok 1145 /checksum/SHA384/33
772s ok 1146 /checksum/SHA384/34
772s ok 1147 /checksum/SHA384/35
772s ok 1148 /checksum/SHA384/36
772s ok 1149 /checksum/SHA384/37
772s ok 1150 /checksum/SHA384/38
772s ok 1151 /checksum/SHA384/39
772s ok 1152 /checksum/SHA384/40
772s ok 1153 /checksum/SHA384/41
772s ok 1154 /checksum/SHA384/42
772s ok 1155 /checksum/SHA384/43
772s ok 1156 /checksum/SHA384/44
772s ok 1157 /checksum/SHA384/45
772s ok 1158 /checksum/SHA384/46
772s ok 1159 /checksum/SHA384/47
772s ok 1160 /checksum/SHA384/48
772s ok 1161 /checksum/SHA384/49
772s ok 1162 /checksum/SHA384/50
772s ok 1163 /checksum/SHA384/51
772s ok 1164 /checksum/SHA384/52
772s ok 1165 /checksum/SHA384/53
772s ok 1166 /checksum/SHA384/54
772s ok 1167 /checksum/SHA384/55
772s ok 1168 /checksum/SHA384/56
772s ok 1169 /checksum/SHA384/57
772s ok 1170 /checksum/SHA384/58
772s ok 1171 /checksum/SHA384/59
772s ok 1172 /checksum/SHA384/60
772s ok 1173 /checksum/SHA384/61
772s ok 1174 /checksum/SHA384/62
772s ok 1175 /checksum/SHA384/63
772s ok 1176 /checksum/SHA384/64
772s ok 1177 /checksum/SHA384/65
772s ok 1178 /checksum/SHA384/66
772s ok 1179 /checksum/SHA384/67
772s ok 1180 /checksum/SHA384/68
772s ok 1181 /checksum/SHA384/69
772s ok 1182 /checksum/SHA384/70
772s ok 1183 /checksum/SHA384/71
772s ok 1184 /checksum/SHA384/72
772s ok 1185 /checksum/SHA384/73
772s ok 1186 /checksum/SHA384/74
772s ok 1187 /checksum/SHA384/75
772s ok 1188 /checksum/SHA384/76
772s ok 1189 /checksum/SHA384/77
772s ok 1190 /checksum/SHA384/78
772s ok 1191 /checksum/SHA384/79
772s ok 1192 /checksum/SHA384/80
772s ok 1193 /checksum/SHA384/81
772s ok 1194 /checksum/SHA384/82
772s ok 1195 /checksum/SHA384/83
772s ok 1196 /checksum/SHA384/84
772s ok 1197 /checksum/SHA384/85
772s ok 1198 /checksum/SHA384/86
772s ok 1199 /checksum/SHA384/87
772s ok 1200 /checksum/SHA384/88
772s ok 1201 /checksum/SHA384/89
772s ok 1202 /checksum/SHA384/90
772s ok 1203 /checksum/SHA384/91
772s ok 1204 /checksum/SHA384/92
772s ok 1205 /checksum/SHA384/93
772s ok 1206 /checksum/SHA384/94
772s ok 1207 /checksum/SHA384/95
772s ok 1208 /checksum/SHA384/96
772s ok 1209 /checksum/SHA384/97
772s ok 1210 /checksum/SHA384/98
772s ok 1211 /checksum/SHA384/99
772s ok 1212 /checksum/SHA384/100
772s ok 1213 /checksum/SHA384/101
772s ok 1214 /checksum/SHA384/102
772s ok 1215 /checksum/SHA384/103
772s ok 1216 /checksum/SHA384/104
772s ok 1217 /checksum/SHA384/105
772s ok 1218 /checksum/SHA384/106
772s ok 1219 /checksum/SHA384/107
772s ok 1220 /checksum/SHA384/108
772s ok 1221 /checksum/SHA384/109
772s ok 1222 /checksum/SHA384/110
772s ok 1223 /checksum/SHA384/111
772s ok 1224 /checksum/SHA384/112
772s ok 1225 /checksum/SHA384/113
772s ok 1226 /checksum/SHA384/114
772s ok 1227 /checksum/SHA384/115
772s ok 1228 /checksum/SHA384/116
772s ok 1229 /checksum/SHA384/117
772s ok 1230 /checksum/SHA384/118
772s ok 1231 /checksum/SHA384/119
772s ok 1232 /checksum/SHA384/120
772s ok 1233 /checksum/SHA384/121
772s ok 1234 /checksum/SHA384/122
772s ok 1235 /checksum/SHA384/123
772s ok 1236 /checksum/SHA384/124
772s ok 1237 /checksum/SHA384/125
772s ok 1238 /checksum/SHA384/126
772s ok 1239 /checksum/SHA384/127
772s ok 1240 /checksum/SHA384/128
772s ok 1241 /checksum/SHA384/129
772s ok 1242 /checksum/SHA384/130
772s ok 1243 /checksum/SHA384/131
772s ok 1244 /checksum/SHA384/132
772s ok 1245 /checksum/SHA384/133
772s ok 1246 /checksum/SHA384/134
772s ok 1247 /checksum/SHA384/135
772s ok 1248 /checksum/SHA384/136
772s ok 1249 /checksum/SHA384/137
772s ok 1250 /checksum/SHA384/138
772s ok 1251 /checksum/SHA384/139
772s ok 1252 /checksum/SHA384/140
772s ok 1253 /checksum/SHA384/141
772s ok 1254 /checksum/SHA384/142
772s ok 1255 /checksum/SHA384/143
772s ok 1256 /checksum/SHA384/144
772s ok 1257 /checksum/SHA384/145
772s ok 1258 /checksum/SHA384/146
772s ok 1259 /checksum/SHA384/147
772s ok 1260 /checksum/SHA384/148
772s ok 1261 /checksum/SHA384/149
772s ok 1262 /checksum/SHA384/150
772s ok 1263 /checksum/SHA384/151
772s ok 1264 /checksum/SHA384/152
772s ok 1265 /checksum/SHA384/153
772s ok 1266 /checksum/SHA384/154
772s ok 1267 /checksum/SHA384/155
772s ok 1268 /checksum/SHA384/156
772s ok 1269 /checksum/SHA384/157
772s ok 1270 /checksum/SHA384/158
772s ok 1271 /checksum/SHA384/159
772s ok 1272 /checksum/SHA384/160
772s ok 1273 /checksum/SHA384/161
772s ok 1274 /checksum/SHA384/162
772s ok 1275 /checksum/SHA384/163
772s ok 1276 /checksum/SHA384/164
772s ok 1277 /checksum/SHA384/165
772s ok 1278 /checksum/SHA384/166
772s ok 1279 /checksum/SHA384/167
772s ok 1280 /checksum/SHA384/168
772s ok 1281 /checksum/SHA384/169
772s ok 1282 /checksum/SHA384/170
772s ok 1283 /checksum/SHA384/171
772s ok 1284 /checksum/SHA384/172
772s ok 1285 /checksum/SHA384/173
772s ok 1286 /checksum/SHA384/174
772s ok 1287 /checksum/SHA384/175
772s ok 1288 /checksum/SHA384/176
772s ok 1289 /checksum/SHA384/177
772s ok 1290 /checksum/SHA384/178
772s ok 1291 /checksum/SHA384/179
772s ok 1292 /checksum/SHA384/180
772s ok 1293 /checksum/SHA384/181
772s ok 1294 /checksum/SHA384/182
772s ok 1295 /checksum/SHA384/183
772s ok 1296 /checksum/SHA384/string
772s ok 1297 /checksum/SHA384/bytes
772s # Start of reset tests
772s ok 1298 /checksum/SHA384/reset/0
772s ok 1299 /checksum/SHA384/reset/1
772s ok 1300 /checksum/SHA384/reset/2
772s ok 1301 /checksum/SHA384/reset/3
772s ok 1302 /checksum/SHA384/reset/4
772s ok 1303 /checksum/SHA384/reset/5
772s ok 1304 /checksum/SHA384/reset/6
772s ok 1305 /checksum/SHA384/reset/7
772s ok 1306 /checksum/SHA384/reset/8
772s ok 1307 /checksum/SHA384/reset/9
772s ok 1308 /checksum/SHA384/reset/10
772s ok 1309 /checksum/SHA384/reset/11
772s ok 1310 /checksum/SHA384/reset/12
772s ok 1311 /checksum/SHA384/reset/13
772s ok 1312 /checksum/SHA384/reset/14
772s ok 1313 /checksum/SHA384/reset/15
772s ok 1314 /checksum/SHA384/reset/16
772s ok 1315 /checksum/SHA384/reset/17
772s ok 1316 /checksum/SHA384/reset/18
772s ok 1317 /checksum/SHA384/reset/19
772s ok 1318 /checksum/SHA384/reset/20
772s ok 1319 /checksum/SHA384/reset/21
772s ok 1320 /checksum/SHA384/reset/22
772s ok 1321 /checksum/SHA384/reset/23
772s ok 1322 /checksum/SHA384/reset/24
772s ok 1323 /checksum/SHA384/reset/25
772s ok 1324 /checksum/SHA384/reset/26
772s ok 1325 /checksum/SHA384/reset/27
772s ok 1326 /checksum/SHA384/reset/28
772s ok 1327 /checksum/SHA384/reset/29
772s ok 1328 /checksum/SHA384/reset/30
772s ok 1329 /checksum/SHA384/reset/31
772s ok 1330 /checksum/SHA384/reset/32
772s ok 1331 /checksum/SHA384/reset/33
772s ok 1332 /checksum/SHA384/reset/34
772s ok 1333 /checksum/SHA384/reset/35
772s ok 1334 /checksum/SHA384/reset/36
772s ok 1335 /checksum/SHA384/reset/37
772s ok 1336 /checksum/SHA384/reset/38
772s ok 1337 /checksum/SHA384/reset/39
772s ok 1338 /checksum/SHA384/reset/40
772s ok 1339 /checksum/SHA384/reset/41
772s ok 1340 /checksum/SHA384/reset/42
772s ok 1341 /checksum/SHA384/reset/43
772s ok 1342 /checksum/SHA384/reset/44
772s ok 1343 /checksum/SHA384/reset/45
772s ok 1344 /checksum/SHA384/reset/46
772s ok 1345 /checksum/SHA384/reset/47
772s ok 1346 /checksum/SHA384/reset/48
772s ok 1347 /checksum/SHA384/reset/49
772s ok 1348 /checksum/SHA384/reset/50
772s ok 1349 /checksum/SHA384/reset/51
772s ok 1350 /checksum/SHA384/reset/52
772s ok 1351 /checksum/SHA384/reset/53
772s ok 1352 /checksum/SHA384/reset/54
772s ok 1353 /checksum/SHA384/reset/55
772s ok 1354 /checksum/SHA384/reset/56
772s ok 1355 /checksum/SHA384/reset/57
772s ok 1356 /checksum/SHA384/reset/58
772s ok 1357 /checksum/SHA384/reset/59
772s ok 1358 /checksum/SHA384/reset/60
772s ok 1359 /checksum/SHA384/reset/61
772s ok 1360 /checksum/SHA384/reset/62
772s ok 1361 /checksum/SHA384/reset/63
772s ok 1362 /checksum/SHA384/reset/64
772s ok 1363 /checksum/SHA384/reset/65
772s ok 1364 /checksum/SHA384/reset/66
772s ok 1365 /checksum/SHA384/reset/67
772s ok 1366 /checksum/SHA384/reset/68
772s ok 1367 /checksum/SHA384/reset/69
772s ok 1368 /checksum/SHA384/reset/70
772s ok 1369 /checksum/SHA384/reset/71
772s ok 1370 /checksum/SHA384/reset/72
772s ok 1371 /checksum/SHA384/reset/73
772s ok 1372 /checksum/SHA384/reset/74
772s ok 1373 /checksum/SHA384/reset/75
772s ok 1374 /checksum/SHA384/reset/76
772s ok 1375 /checksum/SHA384/reset/77
772s ok 1376 /checksum/SHA384/reset/78
772s ok 1377 /checksum/SHA384/reset/79
772s ok 1378 /checksum/SHA384/reset/80
772s ok 1379 /checksum/SHA384/reset/81
772s ok 1380 /checksum/SHA384/reset/82
772s ok 1381 /checksum/SHA384/reset/83
772s ok 1382 /checksum/SHA384/reset/84
772s ok 1383 /checksum/SHA384/reset/85
772s ok 1384 /checksum/SHA384/reset/86
772s ok 1385 /checksum/SHA384/reset/87
772s ok 1386 /checksum/SHA384/reset/88
772s ok 1387 /checksum/SHA384/reset/89
772s ok 1388 /checksum/SHA384/reset/90
772s ok 1389 /checksum/SHA384/reset/91
772s ok 1390 /checksum/SHA384/reset/92
772s ok 1391 /checksum/SHA384/reset/93
772s ok 1392 /checksum/SHA384/reset/94
772s ok 1393 /checksum/SHA384/reset/95
772s ok 1394 /checksum/SHA384/reset/96
772s ok 1395 /checksum/SHA384/reset/97
772s ok 1396 /checksum/SHA384/reset/98
772s ok 1397 /checksum/SHA384/reset/99
772s ok 1398 /checksum/SHA384/reset/100
772s ok 1399 /checksum/SHA384/reset/101
772s ok 1400 /checksum/SHA384/reset/102
772s ok 1401 /checksum/SHA384/reset/103
772s ok 1402 /checksum/SHA384/reset/104
772s ok 1403 /checksum/SHA384/reset/105
772s ok 1404 /checksum/SHA384/reset/106
772s ok 1405 /checksum/SHA384/reset/107
772s ok 1406 /checksum/SHA384/reset/108
772s ok 1407 /checksum/SHA384/reset/109
772s ok 1408 /checksum/SHA384/reset/110
772s ok 1409 /checksum/SHA384/reset/111
772s ok 1410 /checksum/SHA384/reset/112
772s ok 1411 /checksum/SHA384/reset/113
772s ok 1412 /checksum/SHA384/reset/114
772s ok 1413 /checksum/SHA384/reset/115
772s ok 1414 /checksum/SHA384/reset/116
772s ok 1415 /checksum/SHA384/reset/117
772s ok 1416 /checksum/SHA384/reset/118
772s ok 1417 /checksum/SHA384/reset/119
772s ok 1418 /checksum/SHA384/reset/120
772s ok 1419 /checksum/SHA384/reset/121
772s ok 1420 /checksum/SHA384/reset/122
772s ok 1421 /checksum/SHA384/reset/123
772s ok 1422 /checksum/SHA384/reset/124
772s ok 1423 /checksum/SHA384/reset/125
772s ok 1424 /checksum/SHA384/reset/126
772s ok 1425 /checksum/SHA384/reset/127
772s ok 1426 /checksum/SHA384/reset/128
772s ok 1427 /checksum/SHA384/reset/129
772s ok 1428 /checksum/SHA384/reset/130
772s ok 1429 /checksum/SHA384/reset/131
772s ok 1430 /checksum/SHA384/reset/132
772s ok 1431 /checksum/SHA384/reset/133
772s ok 1432 /checksum/SHA384/reset/134
772s ok 1433 /checksum/SHA384/reset/135
772s ok 1434 /checksum/SHA384/reset/136
772s ok 1435 /checksum/SHA384/reset/137
772s ok 1436 /checksum/SHA384/reset/138
772s ok 1437 /checksum/SHA384/reset/139
772s ok 1438 /checksum/SHA384/reset/140
772s ok 1439 /checksum/SHA384/reset/141
772s ok 1440 /checksum/SHA384/reset/142
772s ok 1441 /checksum/SHA384/reset/143
772s ok 1442 /checksum/SHA384/reset/144
772s ok 1443 /checksum/SHA384/reset/145
772s ok 1444 /checksum/SHA384/reset/146
772s ok 1445 /checksum/SHA384/reset/147
772s ok 1446 /checksum/SHA384/reset/148
772s ok 1447 /checksum/SHA384/reset/149
772s ok 1448 /checksum/SHA384/reset/150
772s ok 1449 /checksum/SHA384/reset/151
772s ok 1450 /checksum/SHA384/reset/152
772s ok 1451 /checksum/SHA384/reset/153
772s ok 1452 /checksum/SHA384/reset/154
772s ok 1453 /checksum/SHA384/reset/155
772s ok 1454 /checksum/SHA384/reset/156
772s ok 1455 /checksum/SHA384/reset/157
772s ok 1456 /checksum/SHA384/reset/158
772s ok 1457 /checksum/SHA384/reset/159
772s ok 1458 /checksum/SHA384/reset/160
772s ok 1459 /checksum/SHA384/reset/161
772s ok 1460 /checksum/SHA384/reset/162
772s ok 1461 /checksum/SHA384/reset/163
772s ok 1462 /checksum/SHA384/reset/164
772s ok 1463 /checksum/SHA384/reset/165
772s ok 1464 /checksum/SHA384/reset/166
772s ok 1465 /checksum/SHA384/reset/167
772s ok 1466 /checksum/SHA384/reset/168
772s ok 1467 /checksum/SHA384/reset/169
772s ok 1468 /checksum/SHA384/reset/170
772s ok 1469 /checksum/SHA384/reset/171
772s ok 1470 /checksum/SHA384/reset/172
772s ok 1471 /checksum/SHA384/reset/173
772s ok 1472 /checksum/SHA384/reset/174
772s ok 1473 /checksum/SHA384/reset/175
772s ok 1474 /checksum/SHA384/reset/176
772s ok 1475 /checksum/SHA384/reset/177
772s ok 1476 /checksum/SHA384/reset/178
772s ok 1477 /checksum/SHA384/reset/179
772s ok 1478 /checksum/SHA384/reset/180
772s ok 1479 /checksum/SHA384/reset/181
772s ok 1480 /checksum/SHA384/reset/182
772s ok 1481 /checksum/SHA384/reset/183
772s # End of reset tests
772s # End of SHA384 tests
772s # Start of SHA512 tests
772s ok 1482 /checksum/SHA512/0
772s ok 1483 /checksum/SHA512/1
772s ok 1484 /checksum/SHA512/2
772s ok 1485 /checksum/SHA512/3
772s ok 1486 /checksum/SHA512/4
772s ok 1487 /checksum/SHA512/5
772s ok 1488 /checksum/SHA512/6
772s ok 1489 /checksum/SHA512/7
772s ok 1490 /checksum/SHA512/8
772s ok 1491 /checksum/SHA512/9
772s ok 1492 /checksum/SHA512/10
772s ok 1493 /checksum/SHA512/11
772s ok 1494 /checksum/SHA512/12
772s ok 1495 /checksum/SHA512/13
772s ok 1496 /checksum/SHA512/14
772s ok 1497 /checksum/SHA512/15
772s ok 1498 /checksum/SHA512/16
772s ok 1499 /checksum/SHA512/17
772s ok 1500 /checksum/SHA512/18
772s ok 1501 /checksum/SHA512/19
772s ok 1502 /checksum/SHA512/20
772s ok 1503 /checksum/SHA512/21
772s ok 1504 /checksum/SHA512/22
772s ok 1505 /checksum/SHA512/23
772s ok 1506 /checksum/SHA512/24
772s ok 1507 /checksum/SHA512/25
772s ok 1508 /checksum/SHA512/26
772s ok 1509 /checksum/SHA512/27
772s ok 1510 /checksum/SHA512/28
772s ok 1511 /checksum/SHA512/29
772s ok 1512 /checksum/SHA512/30
772s ok 1513 /checksum/SHA512/31
772s ok 1514 /checksum/SHA512/32
772s ok 1515 /checksum/SHA512/33
772s ok 1516 /checksum/SHA512/34
772s ok 1517 /checksum/SHA512/35
772s ok 1518 /checksum/SHA512/36
772s ok 1519 /checksum/SHA512/37
772s ok 1520 /checksum/SHA512/38
772s ok 1521 /checksum/SHA512/39
772s ok 1522 /checksum/SHA512/40
772s ok 1523 /checksum/SHA512/41
772s ok 1524 /checksum/SHA512/42
772s ok 1525 /checksum/SHA512/43
772s ok 1526 /checksum/SHA512/44
772s ok 1527 /checksum/SHA512/45
772s ok 1528 /checksum/SHA512/46
772s ok 1529 /checksum/SHA512/47
772s ok 1530 /checksum/SHA512/48
772s ok 1531 /checksum/SHA512/49
772s ok 1532 /checksum/SHA512/50
772s ok 1533 /checksum/SHA512/51
772s ok 1534 /checksum/SHA512/52
772s ok 1535 /checksum/SHA512/53
772s ok 1536 /checksum/SHA512/54
772s ok 1537 /checksum/SHA512/55
772s ok 1538 /checksum/SHA512/56
772s ok 1539 /checksum/SHA512/57
772s ok 1540 /checksum/SHA512/58
772s ok 1541 /checksum/SHA512/59
772s ok 1542 /checksum/SHA512/60
772s ok 1543 /checksum/SHA512/61
772s ok 1544 /checksum/SHA512/62
772s ok 1545 /checksum/SHA512/63
772s ok 1546 /checksum/SHA512/64
772s ok 1547 /checksum/SHA512/65
772s ok 1548 /checksum/SHA512/66
772s ok 1549 /checksum/SHA512/67
772s ok 1550 /checksum/SHA512/68
772s ok 1551 /checksum/SHA512/69
772s ok 1552 /checksum/SHA512/70
772s ok 1553 /checksum/SHA512/71
772s ok 1554 /checksum/SHA512/72
772s ok 1555 /checksum/SHA512/73
772s ok 1556 /checksum/SHA512/74
772s ok 1557 /checksum/SHA512/75
772s ok 1558 /checksum/SHA512/76
772s ok 1559 /checksum/SHA512/77
772s ok 1560 /checksum/SHA512/78
772s ok 1561 /checksum/SHA512/79
772s ok 1562 /checksum/SHA512/80
772s ok 1563 /checksum/SHA512/81
772s ok 1564 /checksum/SHA512/82
772s ok 1565 /checksum/SHA512/83
772s ok 1566 /checksum/SHA512/84
772s ok 1567 /checksum/SHA512/85
772s ok 1568 /checksum/SHA512/86
773s ok 1569 /checksum/SHA512/87
773s ok 1570 /checksum/SHA512/88
773s ok 1571 /checksum/SHA512/89
773s ok 1572 /checksum/SHA512/90
773s ok 1573 /checksum/SHA512/91
773s ok 1574 /checksum/SHA512/92
773s ok 1575 /checksum/SHA512/93
773s ok 1576 /checksum/SHA512/94
773s ok 1577 /checksum/SHA512/95
773s ok 1578 /checksum/SHA512/96
773s ok 1579 /checksum/SHA512/97
773s ok 1580 /checksum/SHA512/98
773s ok 1581 /checksum/SHA512/99
773s ok 1582 /checksum/SHA512/100
773s ok 1583 /checksum/SHA512/101
773s ok 1584 /checksum/SHA512/102
773s ok 1585 /checksum/SHA512/103
773s ok 1586 /checksum/SHA512/104
773s ok 1587 /checksum/SHA512/105
773s ok 1588 /checksum/SHA512/106
773s ok 1589 /checksum/SHA512/107
773s ok 1590 /checksum/SHA512/108
773s ok 1591 /checksum/SHA512/109
773s ok 1592 /checksum/SHA512/110
773s ok 1593 /checksum/SHA512/111
773s ok 1594 /checksum/SHA512/112
773s ok 1595 /checksum/SHA512/113
773s ok 1596 /checksum/SHA512/114
773s ok 1597 /checksum/SHA512/115
773s ok 1598 /checksum/SHA512/116
773s ok 1599 /checksum/SHA512/117
773s ok 1600 /checksum/SHA512/118
773s ok 1601 /checksum/SHA512/119
773s ok 1602 /checksum/SHA512/120
773s ok 1603 /checksum/SHA512/121
773s ok 1604 /checksum/SHA512/122
773s ok 1605 /checksum/SHA512/123
773s ok 1606 /checksum/SHA512/124
773s ok 1607 /checksum/SHA512/125
773s ok 1608 /checksum/SHA512/126
773s ok 1609 /checksum/SHA512/127
773s ok 1610 /checksum/SHA512/128
773s ok 1611 /checksum/SHA512/129
773s ok 1612 /checksum/SHA512/130
773s ok 1613 /checksum/SHA512/131
773s ok 1614 /checksum/SHA512/132
773s ok 1615 /checksum/SHA512/133
773s ok 1616 /checksum/SHA512/134
773s ok 1617 /checksum/SHA512/135
773s ok 1618 /checksum/SHA512/136
773s ok 1619 /checksum/SHA512/137
773s ok 1620 /checksum/SHA512/138
773s ok 1621 /checksum/SHA512/139
773s ok 1622 /checksum/SHA512/140
773s ok 1623 /checksum/SHA512/141
773s ok 1624 /checksum/SHA512/142
773s ok 1625 /checksum/SHA512/143
773s ok 1626 /checksum/SHA512/144
773s ok 1627 /checksum/SHA512/145
773s ok 1628 /checksum/SHA512/146
773s ok 1629 /checksum/SHA512/147
773s ok 1630 /checksum/SHA512/148
773s ok 1631 /checksum/SHA512/149
773s ok 1632 /checksum/SHA512/150
773s ok 1633 /checksum/SHA512/151
773s ok 1634 /checksum/SHA512/152
773s ok 1635 /checksum/SHA512/153
773s ok 1636 /checksum/SHA512/154
773s ok 1637 /checksum/SHA512/155
773s ok 1638 /checksum/SHA512/156
773s ok 1639 /checksum/SHA512/157
773s ok 1640 /checksum/SHA512/158
773s ok 1641 /checksum/SHA512/159
773s ok 1642 /checksum/SHA512/160
773s ok 1643 /checksum/SHA512/161
773s ok 1644 /checksum/SHA512/162
773s ok 1645 /checksum/SHA512/163
773s ok 1646 /checksum/SHA512/164
773s ok 1647 /checksum/SHA512/165
773s ok 1648 /checksum/SHA512/166
773s ok 1649 /checksum/SHA512/167
773s ok 1650 /checksum/SHA512/168
773s ok 1651 /checksum/SHA512/169
773s ok 1652 /checksum/SHA512/170
773s ok 1653 /checksum/SHA512/171
773s ok 1654 /checksum/SHA512/172
773s ok 1655 /checksum/SHA512/173
773s ok 1656 /checksum/SHA512/174
773s ok 1657 /checksum/SHA512/175
773s ok 1658 /checksum/SHA512/176
773s ok 1659 /checksum/SHA512/177
773s ok 1660 /checksum/SHA512/178
773s ok 1661 /checksum/SHA512/179
773s ok 1662 /checksum/SHA512/180
773s ok 1663 /checksum/SHA512/181
773s ok 1664 /checksum/SHA512/182
773s ok 1665 /checksum/SHA512/183
773s ok 1666 /checksum/SHA512/string
773s ok 1667 /checksum/SHA512/bytes
773s # Start of reset tests
773s ok 1668 /checksum/SHA512/reset/0
773s ok 1669 /checksum/SHA512/reset/1
773s ok 1670 /checksum/SHA512/reset/2
773s ok 1671 /checksum/SHA512/reset/3
773s ok 1672 /checksum/SHA512/reset/4
773s ok 1673 /checksum/SHA512/reset/5
773s ok 1674 /checksum/SHA512/reset/6
773s ok 1675 /checksum/SHA512/reset/7
773s ok 1676 /checksum/SHA512/reset/8
773s ok 1677 /checksum/SHA512/reset/9
773s ok 1678 /checksum/SHA512/reset/10
773s ok 1679 /checksum/SHA512/reset/11
773s ok 1680 /checksum/SHA512/reset/12
773s ok 1681 /checksum/SHA512/reset/13
773s ok 1682 /checksum/SHA512/reset/14
773s ok 1683 /checksum/SHA512/reset/15
773s ok 1684 /checksum/SHA512/reset/16
773s ok 1685 /checksum/SHA512/reset/17
773s ok 1686 /checksum/SHA512/reset/18
773s ok 1687 /checksum/SHA512/reset/19
773s ok 1688 /checksum/SHA512/reset/20
773s ok 1689 /checksum/SHA512/reset/21
773s ok 1690 /checksum/SHA512/reset/22
773s ok 1691 /checksum/SHA512/reset/23
773s ok 1692 /checksum/SHA512/reset/24
773s ok 1693 /checksum/SHA512/reset/25
773s ok 1694 /checksum/SHA512/reset/26
773s ok 1695 /checksum/SHA512/reset/27
773s ok 1696 /checksum/SHA512/reset/28
773s ok 1697 /checksum/SHA512/reset/29
773s ok 1698 /checksum/SHA512/reset/30
773s ok 1699 /checksum/SHA512/reset/31
773s ok 1700 /checksum/SHA512/reset/32
773s ok 1701 /checksum/SHA512/reset/33
773s ok 1702 /checksum/SHA512/reset/34
773s ok 1703 /checksum/SHA512/reset/35
773s ok 1704 /checksum/SHA512/reset/36
773s ok 1705 /checksum/SHA512/reset/37
773s ok 1706 /checksum/SHA512/reset/38
773s ok 1707 /checksum/SHA512/reset/39
773s ok 1708 /checksum/SHA512/reset/40
773s ok 1709 /checksum/SHA512/reset/41
773s ok 1710 /checksum/SHA512/reset/42
773s ok 1711 /checksum/SHA512/reset/43
773s ok 1712 /checksum/SHA512/reset/44
773s ok 1713 /checksum/SHA512/reset/45
773s ok 1714 /checksum/SHA512/reset/46
773s ok 1715 /checksum/SHA512/reset/47
773s ok 1716 /checksum/SHA512/reset/48
773s ok 1717 /checksum/SHA512/reset/49
773s ok 1718 /checksum/SHA512/reset/50
773s ok 1719 /checksum/SHA512/reset/51
773s ok 1720 /checksum/SHA512/reset/52
773s ok 1721 /checksum/SHA512/reset/53
773s ok 1722 /checksum/SHA512/reset/54
773s ok 1723 /checksum/SHA512/reset/55
773s ok 1724 /checksum/SHA512/reset/56
773s ok 1725 /checksum/SHA512/reset/57
773s ok 1726 /checksum/SHA512/reset/58
773s ok 1727 /checksum/SHA512/reset/59
773s ok 1728 /checksum/SHA512/reset/60
773s ok 1729 /checksum/SHA512/reset/61
773s ok 1730 /checksum/SHA512/reset/62
773s ok 1731 /checksum/SHA512/reset/63
773s ok 1732 /checksum/SHA512/reset/64
773s ok 1733 /checksum/SHA512/reset/65
773s ok 1734 /checksum/SHA512/reset/66
773s ok 1735 /checksum/SHA512/reset/67
773s ok 1736 /checksum/SHA512/reset/68
773s ok 1737 /checksum/SHA512/reset/69
773s ok 1738 /checksum/SHA512/reset/70
773s ok 1739 /checksum/SHA512/reset/71
773s ok 1740 /checksum/SHA512/reset/72
773s ok 1741 /checksum/SHA512/reset/73
773s ok 1742 /checksum/SHA512/reset/74
773s ok 1743 /checksum/SHA512/reset/75
773s ok 1744 /checksum/SHA512/reset/76
773s ok 1745 /checksum/SHA512/reset/77
773s ok 1746 /checksum/SHA512/reset/78
773s ok 1747 /checksum/SHA512/reset/79
773s ok 1748 /checksum/SHA512/reset/80
773s ok 1749 /checksum/SHA512/reset/81
773s ok 1750 /checksum/SHA512/reset/82
773s ok 1751 /checksum/SHA512/reset/83
773s ok 1752 /checksum/SHA512/reset/84
773s ok 1753 /checksum/SHA512/reset/85
773s ok 1754 /checksum/SHA512/reset/86
773s ok 1755 /checksum/SHA512/reset/87
773s ok 1756 /checksum/SHA512/reset/88
773s ok 1757 /checksum/SHA512/reset/89
773s ok 1758 /checksum/SHA512/reset/90
773s ok 1759 /checksum/SHA512/reset/91
773s ok 1760 /checksum/SHA512/reset/92
773s ok 1761 /checksum/SHA512/reset/93
773s ok 1762 /checksum/SHA512/reset/94
773s ok 1763 /checksum/SHA512/reset/95
773s ok 1764 /checksum/SHA512/reset/96
773s ok 1765 /checksum/SHA512/reset/97
773s ok 1766 /checksum/SHA512/reset/98
773s ok 1767 /checksum/SHA512/reset/99
773s ok 1768 /checksum/SHA512/reset/100
773s ok 1769 /checksum/SHA512/reset/101
773s ok 1770 /checksum/SHA512/reset/102
773s ok 1771 /checksum/SHA512/reset/103
773s ok 1772 /checksum/SHA512/reset/104
773s ok 1773 /checksum/SHA512/reset/105
773s ok 1774 /checksum/SHA512/reset/106
773s ok 1775 /checksum/SHA512/reset/107
773s ok 1776 /checksum/SHA512/reset/108
773s ok 1777 /checksum/SHA512/reset/109
773s ok 1778 /checksum/SHA512/reset/110
773s ok 1779 /checksum/SHA512/reset/111
773s ok 1780 /checksum/SHA512/reset/112
773s ok 1781 /checksum/SHA512/reset/113
773s ok 1782 /checksum/SHA512/reset/114
773s ok 1783 /checksum/SHA512/reset/115
773s ok 1784 /checksum/SHA512/reset/116
773s ok 1785 /checksum/SHA512/reset/117
773s ok 1786 /checksum/SHA512/reset/118
773s ok 1787 /checksum/SHA512/reset/119
773s ok 1788 /checksum/SHA512/reset/120
773s ok 1789 /checksum/SHA512/reset/121
773s ok 1790 /checksum/SHA512/reset/122
773s ok 1791 /checksum/SHA512/reset/123
773s ok 1792 /checksum/SHA512/reset/124
773s ok 1793 /checksum/SHA512/reset/125
773s ok 1794 /checksum/SHA512/reset/126
773s ok 1795 /checksum/SHA512/reset/127
773s ok 1796 /checksum/SHA512/reset/128
773s ok 1797 /checksum/SHA512/reset/129
773s ok 1798 /checksum/SHA512/reset/130
773s ok 1799 /checksum/SHA512/reset/131
773s ok 1800 /checksum/SHA512/reset/132
773s ok 1801 /checksum/SHA512/reset/133
773s ok 1802 /checksum/SHA512/reset/134
773s ok 1803 /checksum/SHA512/reset/135
773s ok 1804 /checksum/SHA512/reset/136
773s ok 1805 /checksum/SHA512/reset/137
773s ok 1806 /checksum/SHA512/reset/138
773s ok 1807 /checksum/SHA512/reset/139
773s ok 1808 /checksum/SHA512/reset/140
773s ok 1809 /checksum/SHA512/reset/141
773s ok 1810 /checksum/SHA512/reset/142
773s ok 1811 /checksum/SHA512/reset/143
773s ok 1812 /checksum/SHA512/reset/144
773s ok 1813 /checksum/SHA512/reset/145
773s ok 1814 /checksum/SHA512/reset/146
773s ok 1815 /checksum/SHA512/reset/147
773s ok 1816 /checksum/SHA512/reset/148
773s ok 1817 /checksum/SHA512/reset/149
773s ok 1818 /checksum/SHA512/reset/150
773s ok 1819 /checksum/SHA512/reset/151
773s ok 1820 /checksum/SHA512/reset/152
773s ok 1821 /checksum/SHA512/reset/153
773s ok 1822 /checksum/SHA512/reset/154
773s ok 1823 /checksum/SHA512/reset/155
773s ok 1824 /checksum/SHA512/reset/156
773s ok 1825 /checksum/SHA512/reset/157
773s ok 1826 /checksum/SHA512/reset/158
773s ok 1827 /checksum/SHA512/reset/159
773s ok 1828 /checksum/SHA512/reset/160
773s ok 1829 /checksum/SHA512/reset/161
773s ok 1830 /checksum/SHA512/reset/162
773s ok 1831 /checksum/SHA512/reset/163
773s ok 1832 /checksum/SHA512/reset/164
773s ok 1833 /checksum/SHA512/reset/165
773s ok 1834 /checksum/SHA512/reset/166
773s ok 1835 /checksum/SHA512/reset/167
773s ok 1836 /checksum/SHA512/reset/168
773s ok 1837 /checksum/SHA512/reset/169
773s ok 1838 /checksum/SHA512/reset/170
773s ok 1839 /checksum/SHA512/reset/171
773s ok 1840 /checksum/SHA512/reset/172
773s ok 1841 /checksum/SHA512/reset/173
773s ok 1842 /checksum/SHA512/reset/174
773s ok 1843 /checksum/SHA512/reset/175
773s ok 1844 /checksum/SHA512/reset/176
773s ok 1845 /checksum/SHA512/reset/177
773s ok 1846 /checksum/SHA512/reset/178
773s ok 1847 /checksum/SHA512/reset/179
773s ok 1848 /checksum/SHA512/reset/180
773s ok 1849 /checksum/SHA512/reset/181
773s ok 1850 /checksum/SHA512/reset/182
773s ok 1851 /checksum/SHA512/reset/183
773s # End of reset tests
773s # End of SHA512 tests
773s ok - glib/checksum.test
773s # Running test: glib/utils-c-11.test
773s # End of checksum tests
773s TAP version 14
773s # random seed: R02S2e3c43d0b1658eaf94f23b1a53b0015a
773s 1..41
773s # Start of utils tests
773s ok 1 /utils/language-names
773s ok 2 /utils/locale-variants
773s ok 3 /utils/version
773s ok 4 /utils/appname
773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
773s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
773s ok 5 /utils/prgname-thread-safety
773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
773s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
773s ok 6 /utils/tmpdir
773s ok 7 /utils/basic_bits
773s ok 8 /utils/bits
773s ok 9 /utils/swap
773s ok 10 /utils/find-program
773s ok 11 /utils/find-program-for-path
773s ok 12 /utils/debug
773s ok 13 /utils/codeset
773s ok 14 /utils/codeset2
773s ok 15 /utils/console-charset
773s ok 16 /utils/gettext
773s ok 17 /utils/username
773s ok 18 /utils/realname
773s ok 19 /utils/hostname
773s ok 20 /utils/xdgdirs
773s ok 21 /utils/specialdir
773s # NAME: Ubuntu
773s ok 22 /utils/os-info
773s ok 23 /utils/clear-pointer
773s ok 24 /utils/clear-pointer-cast
773s ok 25 /utils/take-pointer
773s ok 26 /utils/clear-source
773s ok 27 /utils/misc-mem
773s # /utils/aligned-mem summary: Aligned memory allocator
773s # Alignment must not be zero
773s # Alignment must be a power of two
773s # Alignment must be a multiple of sizeof(void*)
773s ok 28 /utils/aligned-mem
773s # /utils/free-sized summary: Check that g_free_sized() works
773s ok 29 /utils/free-sized
773s ok 30 /utils/nullify
773s ok 31 /utils/atexit
773s ok 32 /utils/check-setuid
773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
773s ok 33 /utils/int-limits
773s ok 34 /utils/clear-list
773s ok 35 /utils/clear-slist
773s ok 36 /utils/steal-handle-id
773s # Start of specialdir tests
773s ok 37 /utils/specialdir/desktop
773s # End of specialdir tests
773s # Start of clear-pointer tests
773s ok 38 /utils/clear-pointer/side-effects
773s # End of clear-pointer tests
773s # Start of aligned-mem tests
773s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
773s ok 39 /utils/aligned-mem/alignment
773s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
773s ok 40 /utils/aligned-mem/zeroed
773s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
773s ok 41 /utils/aligned-mem/free-sized
773s # Start of subprocess tests
773s # End of subprocess tests
773s # End of aligned-mem tests
773s # End of utils tests
773s ok - glib/utils-c-11.test
773s # Running test: glib/slist.test
773s ok - glib/slist.test
773s TAP version 14
773s # random seed: R02S0641d061c2e148ba6fa381b26afd7426
773s 1..14
773s # Start of slist tests
773s ok 1 /slist/sort
773s ok 2 /slist/sort-with-data
773s ok 3 /slist/insert-sorted
773s ok 4 /slist/insert-sorted-with-data
773s ok 5 /slist/reverse
773s ok 6 /slist/nth
773s ok 7 /slist/remove
773s ok 8 /slist/remove-all
773s ok 9 /slist/insert
773s ok 10 /slist/position
773s ok 11 /slist/concat
773s ok 12 /slist/copy
773s # Start of sort tests
773s ok 13 /slist/sort/stable
773s # End of sort tests
773s # Start of copy tests
773s ok 14 /slist/copy/deep
773s # End of copy tests
773s # End of slist tests
773s # Running test: glib/objects-refcount1.test
773s TAP version 14
773s # random seed: R02S826b67720a10fbba25d0ae0ca6e6bca8
773s 1..1
773s # Start of gobject tests
773s # Start of refcount tests
773s # init 0x2aa07aba410
773s #
773s # init 0x2aa07aba590
773s #
775s # Executing: glib/objects-refcount1.test
778s ok - glib/objects-refcount1.test
778s # Running test: glib/gio-tool.py.test
778s # dispose 0x2aa07aba410!
778s #
778s # dispose 0x2aa07aba590!
778s #
778s ok 1 /gobject/refcount/object-basics
778s # slow test /gobject/refcount/object-basics executed in 5.41 secs
778s # End of refcount tests
778s # End of gobject tests
778s TAP version 13
778s ok 1 __main__.TestGioTool.test_help
778s # gio: /usr/bin/gio
778s # tmpdir: /tmp/tmp33q5wn5q
778s # Running: ['/usr/bin/gio', '--help']
778s # Return code: 0
778s # Output:
778s # Usage:
778s # gio COMMAND [ARGS…]
778s #
778s # Commands:
778s # help Print help
778s # version Print version
778s # cat Concatenate files to standard output
778s # copy Copy one or more files
778s # info Show information about locations
778s # launch Launch an application from a desktop file
778s # list List the contents of locations
778s # mime Get or set the handler for a mimetype
778s # mkdir Create directories
778s # monitor Monitor files and directories for changes
778s # mount Mount or unmount the locations
778s # move Move one or more files
778s # open Open files with the default application
778s # rename Rename a file
778s # remove Delete one or more files
778s # save Read from standard input and save
778s # set Set a file attribute
778s # trash Move files or directories to the trash
778s # tree Lists the contents of locations in a tree
778s #
778s # Use “gio help COMMAND†to get detailed help.
778s # Error:
778s #
778s # Running: ['/usr/bin/gio', 'help']
778s # Return code: 0
778s # Output:
778s # Usage:
778s # gio COMMAND [ARGS…]
778s #
778s # Commands:
778s # help Print help
778s # version Print version
778s # cat Concatenate files to standard output
778s # copy Copy one or more files
778s # info Show information about locations
778s # launch Launch an application from a desktop file
778s # list List the contents of locations
778s # mime Get or set the handler for a mimetype
778s # mkdir Create directories
778s # monitor Monitor files and directories for changes
778s # mount Mount or unmount the locations
778s # move Move one or more files
778s # open Open files with the default application
778s # rename Rename a file
778s # remove Delete one or more files
778s # save Read from standard input and save
778s # set Set a file attribute
778s # trash Move files or directories to the trash
778s # tree Lists the contents of locations in a tree
778s #
778s # Use “gio help COMMAND†to get detailed help.
778s # Error:
778s ok 2 __main__.TestGioTool.test_info_non_default_attributes
778s # gio: /usr/bin/gio
778s # tmpdir: /tmp/tmp59ubs7be
778s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp59ubs7be/tmpx2iaxjv7']
778s # Return code: 0
778s # Output:
778s # uri: file:///tmp/tmp59ubs7be/tmpx2iaxjv7
778s # local path: /tmp/tmp59ubs7be/tmpx2iaxjv7
778s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30
778s # attributes:
778s # standard::content-type: application/x-zerosize
778s # Error:
778s ok 3 __main__.TestGioTool.test_no_args
778s # gio: /usr/bin/gio
778s # tmpdir: /tmp/tmpsf3x9o98
778s # Running: ['/usr/bin/gio']
778s # Return code: 1
778s # Output:
778s #
778s # Error:
778s # Usage:
778s # gio COMMAND [ARGS…]
778s #
778s # Commands:
778s # help Print help
778s # version Print version
778s # cat Concatenate files to standard output
778s # copy Copy one or more files
778s # info Show information about locations
778s # launch Launch an application from a desktop file
778s # list List the contents of locations
778s # mime Get or set the handler for a mimetype
778s # mkdir Create directories
778s # monitor Monitor files and directories for changes
778s # mount Mount or unmount the locations
778s # move Move one or more files
778s # open Open files with the default application
778s # rename Rename a file
778s # remove Delete one or more files
778s # save Read from standard input and save
778s # set Set a file attribute
778s # trash Move files or directories to the trash
778s # tree Lists the contents of locations in a tree
778s #
778s # Use “gio help COMMAND†to get detailed help.
778s 1..3
778s ok - glib/gio-tool.py.test
778s # Running test: glib/onceinit.test
778s TAP version 14
778s # random seed: R02S6bab6113b3364c7777706d6003538e6f
778s 1..1
778s # Start of thread tests
778s ok - glib/onceinit.test
778s # Running test: glib/struct-info.test
778s ok - glib/struct-info.test
778s ok 1 /thread/onceinit
778s # End of thread tests
778s TAP version 14
778s # random seed: R02S281449df7813e6fd134dbea7da837c50
778s 1..4
778s # Start of struct-info tests
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6EL852/struct-info/field-iterators/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field()
778s ok 1 /struct-info/field-iterators
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6EL852/struct-info/sizeof-gvalue/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue
778s ok 2 /struct-info/sizeof-gvalue
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6EL852/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer()
778s ok 3 /struct-info/is-pointer-for-struct-method-arg
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6EL852/struct-info/boxed/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s # /struct-info/boxed summary: Test that a boxed struct is recognised as such
778s ok 4 /struct-info/boxed
778s # End of struct-info tests
778s # Running test: glib/gdbus-peer-object-manager.test
778s TAP version 14
778s # random seed: R02Sf22c7b03ca5375a7ff2cae65f071c34c
778s 1..2
778s # Start of gdbus tests
778s # Start of peer-object-manager tests
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/normal/.dirs/runtime
778s ok 1 /gdbus/peer-object-manager/normal
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/state
778s ok - glib/gdbus-peer-object-manager.test
778s # Running test: glib/cxx.test
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BZJ852/gdbus/peer-object-manager/root/.dirs/runtime
778s ok 2 /gdbus/peer-object-manager/root
778s # End of peer-object-manager tests
778s # End of gdbus tests
778s TAP version 14
778s # random seed: R02S60054045e4af31d551b29281c69e2a73
778s 1..2
778s # Start of gtask tests
778s ok - glib/cxx.test
778s # Running test: glib/gdbus-test-codegen-min-required-2-64.test
778s ok - glib/gdbus-test-codegen-min-required-2-64.test
778s # Running test: glib/actions.test
778s # 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.
778s ok 1 /gtask/name
778s # Start of name tests
778s # 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.
778s ok 2 /gtask/name/macro-wrapper
778s # End of name tests
778s # End of gtask tests
778s TAP version 14
778s # random seed: R02Sa603b9721c5ea94aa1ae0d149f3ba416
778s 1..8
778s # Start of gdbus tests
778s # Start of codegen tests
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/annotations/.dirs/runtime
778s ok 1 /gdbus/codegen/annotations
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/interface_stability/.dirs/runtime
778s ok 2 /gdbus/codegen/interface_stability
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/object-manager/.dirs/runtime
778s ok 3 /gdbus/codegen/object-manager
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/property-naming/.dirs/runtime
778s ok 4 /gdbus/codegen/property-naming
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/autocleanups/.dirs/runtime
778s ok 5 /gdbus/codegen/autocleanups
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/deprecations/.dirs/runtime
778s ok 6 /gdbus/codegen/deprecations
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/standalone-interface-info/.dirs/runtime
778s ok 7 /gdbus/codegen/standalone-interface-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_U7P852/gdbus/codegen/unix-fd-list/.dirs/runtime
778s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
778s ok 8 /gdbus/codegen/unix-fd-list
778s # End of codegen tests
778s # End of gdbus tests
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s TAP version 14
778s # random seed: R02Sffebc8c942154c85d8a9b01af8323585
778s 1..13
778s # Start of actions tests
778s ok 1 /actions/basic
778s ok 2 /actions/name
778s ok 3 /actions/simplegroup
778s ok 4 /actions/stateful
778s ok 5 /actions/default-activate
778s ok 6 /actions/entries
778s ok 7 /actions/parse-detailed
778s ok 8 /actions/property
778s ok 9 /actions/no-properties
778s # Start of dbus tests
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s ok 10 /actions/dbus/export
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
778s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s ok 11 /actions/dbus/threaded
779s # slow test /actions/dbus/threaded executed in 0.81 secs
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s ok 12 /actions/dbus/bug679509
779s # Start of export tests
779s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works
779s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
779s ok 13 /actions/dbus/export/error-handling
779s # End of export tests
779s # End of dbus tests
779s # End of actions tests
779s ok - glib/actions.test
779s # Running test: glib/tls-bindings.test
779s TAP version 14
779s # random seed: R02S7a20159573aace23598d754ebecc069c
779s 1..2
779s # Start of tls-connection tests
779s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
779s ok 1 /tls-connection/get-tls-channel-binding
779s ok 2 /tls-connection/get-dtls-channel-binding
779s # End of tls-connection tests
779s TAP version 14
779s # random seed: R02Sd14ee258e5c4086380ed0557db8bd266
779s 1..1
779s # Start of portal-support tests
779s ok 1 /portal-support/none
779s # End of portal-support tests
779s TAP version 14
779s # random seed: R02Sdc2e1cb258b215dbe6d23526059486d1
779s 1..6
779s # Start of memory-input-stream tests
779s ok 1 /memory-input-stream/read-chunks
779s ok 2 /memory-input-stream/async
779s ok 3 /memory-input-stream/seek
779s ok 4 /memory-input-stream/truncate
779s ok 5 /memory-input-stream/read-bytes
779s ok 6 /memory-input-stream/from-bytes
779s # End of memory-input-stream tests
779s TAP version 14
779s # random seed: R02S1772465751dfb2f71cfd95304ad12f7b
779s 1..58
779s # Start of option tests
779s ok 1 /option/basic
779s ok 2 /option/translate
779s ok 3 /option/strict-posix
779s # Start of help tests
779s ok 4 /option/help/options
779s ok 5 /option/help/no-options
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652
779s ok 6 /option/help/no-help-options
779s # Usage:
779s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla
779s #
779s # Summary
779s #
779s # Help Options:
779s # -h, --help Show help options
779s #
779s # Application Options:
779s # -t, --test=Argument to use in test (deprecated) Test tests
779s # --test2 Tests also
779s #
779s # Description
779s #
779s ok 7 /option/help/deprecated
779s # End of help tests
779s # Start of group tests
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142
779s ok 8 /option/group/captions
779s ok 9 /option/group/main
779s ok 10 /option/group/error-hook
779s ok 11 /option/group/parse
779s # Start of captions tests
779s # Start of subprocess tests
779s # End of subprocess tests
779s # End of captions tests
779s # End of group tests
779s # Start of restoration tests
779s ok 12 /option/restoration/int
779s ok 13 /option/restoration/string
779s ok 14 /option/restoration/boolean
779s # End of restoration tests
779s # Start of arg tests
779s ok 15 /option/arg/reverse-string
779s ok 16 /option/arg/optional-int
779s # Start of repetition tests
779s ok 17 /option/arg/repetition/int
779s ok 18 /option/arg/repetition/string
779s ok 19 /option/arg/repetition/filename
779s ok 20 /option/arg/repetition/double
779s ok 21 /option/arg/repetition/locale
779s ok 22 /option/arg/repetition/int64
779s # End of repetition tests
779s # Start of array tests
779s ok 23 /option/arg/array/string
779s # End of array tests
779s # Start of callback tests
779s ok 24 /option/arg/callback/string
779s ok 25 /option/arg/callback/count
779s ok 26 /option/arg/callback/optional1
779s ok 27 /option/arg/callback/optional2
779s ok 28 /option/arg/callback/optional3
779s ok 29 /option/arg/callback/optional4
779s ok 30 /option/arg/callback/optional5
779s ok 31 /option/arg/callback/optional6
779s ok 32 /option/arg/callback/optional7
779s ok 33 /option/arg/callback/optional8
779s # End of callback tests
779s # Start of remaining tests
779s ok 34 /option/arg/remaining/callback
779s ok 35 /option/arg/remaining/callback-false
779s ok 36 /option/arg/remaining/non-option
779s ok 37 /option/arg/remaining/separator
779s ok 38 /option/arg/remaining/array
779s # End of remaining tests
779s # Start of ignore tests
779s ok 39 /option/arg/ignore/long
779s ok 40 /option/arg/ignore/short
779s ok 41 /option/arg/ignore/arg
779s # End of ignore tests
779s # Start of rest tests
779s ok 42 /option/arg/rest/non-option
779s ok 43 /option/arg/rest/separator1
779s ok 44 /option/arg/rest/separator2
779s ok 45 /option/arg/rest/separator3
779s ok 46 /option/arg/rest/separator4
779s ok 47 /option/arg/rest/separator5
779s # End of rest tests
779s # End of arg tests
779s # Start of context tests
779s ok 48 /option/context/add
779s ok 49 /option/context/empty2
779s ok 50 /option/context/empty3
779s # End of context tests
779s # Start of bug tests
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609
779s ok 51 /option/bug/unknown-short
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008
779s ok 52 /option/bug/lonely-dash
779s ok 53 /option/bug/triple-dash
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576
779s ok 54 /option/bug/missing-arg
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638
779s ok 55 /option/bug/dash-arg
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563
779s ok 56 /option/bug/short-remaining
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926
779s ok 57 /option/bug/double-free
779s ok 58 /option/bug/double-zero
779s # End of bug tests
779s # End of option tests
779s TAP version 14
779s # random seed: R02S22d2ac0ae721d0b4e10972abc5dbfe0a
779s 1..51
779s # Start of shell tests
779s # Start of cmdline tests
779s test cmdline: foo bar
779s ok 1 /shell/cmdline/0
779s test cmdline: foo 'bar'
779s ok 2 /shell/cmdline/1
779s test cmdline: foo "bar"
779s ok 3 /shell/cmdline/2
779s test cmdline: foo '' 'bar'
779s ok 4 /shell/cmdline/3
779s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo"
779s ok 5 /shell/cmdline/4
779s test cmdline: foo blah foo bar baz
779s ok 6 /shell/cmdline/5
779s test cmdline: foo ' spaces more spaces lots of spaces in this '
779s ok 7 /shell/cmdline/6
779s test cmdline: foo \
779s bar
779s ok 8 /shell/cmdline/7
779s test cmdline: foo '' ''
779s ok 9 /shell/cmdline/8
779s test cmdline: foo \" la la la
779s ok 10 /shell/cmdline/9
779s test cmdline: foo \ foo woo woo\
779s ok 11 /shell/cmdline/10
779s test cmdline: foo "yada yada \$\""
779s ok 12 /shell/cmdline/11
779s test cmdline: foo "c:\\"
779s ok 13 /shell/cmdline/12
779s test cmdline: foo # bla bla bla
779s bar
779s ok 14 /shell/cmdline/13
779s test cmdline: foo a#b
779s ok 15 /shell/cmdline/14
779s test cmdline: #foo
779s ok 16 /shell/cmdline/15
779s test cmdline: foo bar \
779s ok 17 /shell/cmdline/16
779s test cmdline: foo 'bar baz
779s ok 18 /shell/cmdline/17
779s test cmdline: foo '"bar" baz
779s ok 19 /shell/cmdline/18
779s test cmdline:
779s ok 20 /shell/cmdline/19
779s test cmdline:
779s ok 21 /shell/cmdline/20
779s test cmdline: # foo bar
779s ok 22 /shell/cmdline/21
779s test cmdline: foo '/bar/summer'\''09 tours.pdf'
779s ok 23 /shell/cmdline/22
779s # End of cmdline tests
779s # Start of quote tests
779s ok 24 /shell/quote/0
779s ok 25 /shell/quote/1
779s ok 26 /shell/quote/2
779s ok 27 /shell/quote/3
779s ok 28 /shell/quote/4
779s ok 29 /shell/quote/5
779s ok 30 /shell/quote/6
779s # End of quote tests
779s # Start of unquote tests
779s ok 31 /shell/unquote/0
779s ok 32 /shell/unquote/1
779s ok 33 /shell/unquote/2
779s ok 34 /shell/unquote/3
779s ok 35 /shell/unquote/4
779s ok 36 /shell/unquote/5
779s ok 37 /shell/unquote/6
779s ok 38 /shell/unquote/7
779s ok 39 /shell/unquote/8
779s ok 40 /shell/unquote/9
779s ok 41 /shell/unquote/10
779s ok 42 /shell/unquote/11
779s ok 43 /shell/unquote/12
779s ok 44 /shell/unquote/13
779s ok 45 /shell/unquote/14
779s ok 46 /shell/unquote/15
779s ok 47 /shell/unquote/16
779s ok 48 /shell/unquote/17
779s ok 49 /shell/unquote/18
779s ok 50 /shell/unquote/19
779s ok 51 /shell/unquote/20
779s # End of unquote tests
779s # End of shell tests
779s TAP version 14
779s # random seed: R02S33991c3027e40b670a89f30c8dc39c4a
779s 1..3
779s # Start of throws tests
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_SMG752/throws/invoke-gerror/.dirs/runtime
779s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
779s # /throws/invoke-gerror summary: Test invoking a function that throws a GError
779s ok 1 /throws/invoke-gerror
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_SMG752/throws/vfunc-can-throw-gerror/.dirs/runtime
779s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
779s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc
779s ok 2 /throws/vfunc-can-throw-gerror
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_SMG752/throws/callback-can-throw-gerror/.dirs/runtime
779s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
779s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback
779s ok 3 /throws/callback-can-throw-gerror
779s # End of throws tests
779s TAP version 14
779s # random seed: R02S58981de787f0a426a67faa3c5a92d051
779s 1..5
779s # Start of async-splice tests
779s ok 1 /async-splice/copy-chunks
779s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
779s ok 2 /async-splice/copy-chunks-threaded-input
779s ok 3 /async-splice/copy-chunks-threaded-output
779s ok 4 /async-splice/copy-chunks-threaded
779s ok 5 /async-splice/cancelled
779s # End of async-splice tests
779s ok - glib/tls-bindings.test
779s # Running test: glib/portal-support-none.test
779s ok - glib/portal-support-none.test
779s # Running test: glib/memory-input-stream.test
779s ok - glib/memory-input-stream.test
779s # Running test: glib/option-context.test
779s ok - glib/option-context.test
779s # Running test: glib/shell.test
779s ok - glib/shell.test
779s # Running test: glib/throws.test
779s ok - glib/throws.test
779s # Running test: glib/async-splice-output-stream.test
779s ok - glib/async-splice-output-stream.test
779s # Running test: glib/relation.test
779s TAP version 14
779s # random seed: R02Sefa43d80127103522af9acd58939c5e9
779s 1..1
779s # Start of glib tests
779s ok 1 /glib/relation
779s # End of glib tests
779s ok - glib/relation.test
779s # Running test: glib/object.test
779s TAP version 14
779s # random seed: R02S3243a9afa5d6177dec68b8dba33712d9
779s 1..2
779s # Start of object tests
779s # Start of constructor tests
779s ok 1 /object/constructor/singleton
779s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings
779s # End of constructor tests
779s # End of object tests
779s TAP version 14
779s # random seed: R02S1e7f4a54dc51c6cdc5ea6ba418c79f1b
779s 1..3
779s # Start of fileattributematcher tests
779s ok 1 /fileattributematcher/exact
779s ok 2 /fileattributematcher/equality
779s ok 3 /fileattributematcher/subtract
779s # End of fileattributematcher tests
779s TAP version 14
779s # random seed: R02Sfcd5d1d685972bcee007d476fdadc41c
779s 1..19
779s # Start of tls-certificate tests
779s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
779s ok 1 /tls-certificate/pem-parser
779s ok 2 /tls-certificate/pem-parser-handles-chain
779s ok 3 /tls-certificate/from_file
779s ok 4 /tls-certificate/from_files
779s ok 5 /tls-certificate/from_files_crlf
779s ok 6 /tls-certificate/from_files_pkcs8
779s ok 7 /tls-certificate/from_files_pkcs8enc
779s ok 8 /tls-certificate/list_from_file
779s ok 9 /tls-certificate/pkcs11-uri
779s ok 10 /tls-certificate/pkcs11-uri-unsupported
779s ok 11 /tls-certificate/from_pkcs12
779s ok 12 /tls-certificate/from_pkcs12_file
779s ok 13 /tls-certificate/not-valid-before
779s ok 14 /tls-certificate/not-valid-after
779s ok 15 /tls-certificate/subject-name
779s ok 16 /tls-certificate/issuer-name
779s ok 17 /tls-certificate/dns-names
779s ok 18 /tls-certificate/ip-addresses
779s ok 19 /tls-certificate/pem-parser-no-sentinel
779s # End of tls-certificate tests
779s TAP version 14
779s # random seed: R02Sd3ec4025d23bf8679a301fee532bc86f
779s 1..9
779s # Start of gdbus tests
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/empty-address/.dirs/runtime
779s ok 1 /gdbus/empty-address
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/unsupported-address/.dirs/runtime
779s ok 2 /gdbus/unsupported-address
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/address-parsing/.dirs/runtime
779s ok 3 /gdbus/address-parsing
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/unix-address/.dirs/runtime
779s ok 4 /gdbus/unix-address
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/nonce-tcp-address/.dirs/runtime
779s ok 5 /gdbus/nonce-tcp-address
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/cache
779s ok - glib/object.test
779s # Running test: glib/fileattributematcher.test
779s ok - glib/fileattributematcher.test
779s # Running test: glib/tls-certificate.test
779s ok - glib/tls-certificate.test
779s # Running test: glib/gdbus-addresses.test
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/tcp-address/.dirs/runtime
779s ok 6 /gdbus/tcp-address
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/autolaunch-address/.dirs/runtime
779s ok 7 /gdbus/autolaunch-address
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/mixed-address/.dirs/runtime
779s ok 8 /gdbus/mixed-address
779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/home
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/cache
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/system-config2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/config
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/system-data2
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/data
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/state
779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RI8752/gdbus/escape-address/.dirs/runtime
779s ok 9 /gdbus/escape-address
779s # End of gdbus tests
779s TAP version 14
779s # random seed: R02Sd31c4b409bbb826a75f18a362ed469c7
779s 1..3
779s # Start of deprecated-properties tests
779s ok 1 /deprecated-properties/construct
779s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
779s ok 2 /deprecated-properties/default-construct
779s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
779s ok 3 /deprecated-properties/set
779s # End of deprecated-properties tests
779s TAP version 14
779s # random seed: R02Se4455bcb04e6cd3778cdcc15a52e480c
779s 1..1
779s # Start of network-monitor tests
779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727
779s ok - glib/gdbus-addresses.test
779s # Running test: glib/deprecated-properties.test
779s ok - glib/deprecated-properties.test
779s # Running test: glib/network-monitor-race.test
781s # Executing: glib/network-monitor-race.test
782s ok 1 /network-monitor/create-in-thread
782s # slow test /network-monitor/create-in-thread executed in 2.09 secs
782s # End of network-monitor tests
782s ok - glib/network-monitor-race.test
782s # Running test: glib/tree.test
782s TAP version 14
782s # random seed: R02Sdc1247e9db94c8c0f30c5f425bb5596a
782s 1..7
782s # Start of tree tests
782s ok 1 /tree/search
782s ok 2 /tree/remove
782s ok 3 /tree/destroy
782s ok 4 /tree/traverse
782s ok 5 /tree/insert
782s ok 6 /tree/bounds
782s ok 7 /tree/remove-all
782s # End of tree tests
782s ok - glib/tree.test
782s # Running test: glib/signals.test
782s TAP version 14
782s # random seed: R02S1b85ddb9dcdad1105a30978b2166951e
782s 1..31
782s # Start of gobject tests
782s # Start of signals tests
782s ok 1 /gobject/signals/all-types
782s ok 2 /gobject/signals/variant
782s ok 3 /gobject/signals/destroy-target-object
782s ok 4 /gobject/signals/generic-marshaller-1
782s ok 5 /gobject/signals/generic-marshaller-2
782s ok 6 /gobject/signals/generic-marshaller-enum-return-signed
782s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned
782s ok 8 /gobject/signals/generic-marshaller-int-return
782s ok 9 /gobject/signals/generic-marshaller-uint-return
782s ok 10 /gobject/signals/generic-marshaller-interface-return
782s ok 11 /gobject/signals/custom-marshaller
782s ok 12 /gobject/signals/connect
782s ok 13 /gobject/signals/emission-hook
782s ok 14 /gobject/signals/emitv
782s ok 15 /gobject/signals/accumulator
782s # Signal: accumulator-class-first
782s # Signal: accumulator-class-last
782s # Signal: accumulator-class-cleanup
782s # Signal: accumulator-class-first-last
782s # Signal: accumulator-class-first-last-cleanup
782s # Signal: accumulator-class-last-cleanup
782s ok 16 /gobject/signals/accumulator-class
782s ok 17 /gobject/signals/introspection
782s ok 18 /gobject/signals/block-handler
782s ok 19 /gobject/signals/stop-emission
782s ok 20 /gobject/signals/invocation-hint
782s ok 21 /gobject/signals/test-disconnection-wrong-object
782s ok 22 /gobject/signals/clear-signal-handler
782s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs.
782s ok 23 /gobject/signals/lookup
782s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs.
782s ok 24 /gobject/signals/parse-name
782s ok 25 /gobject/signals/is-valid-name
782s ok 26 /gobject/signals/weak-ref-disconnect
782s # Start of lookup tests
782s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name.
782s ok 27 /gobject/signals/lookup/invalid
782s # End of lookup tests
782s # Start of parse-name tests
782s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs.
782s # Parser input:
782s # Parser input: 7zip
782s # Parser input: invalid:signal
782s # Parser input: simple-detailed::
782s # Parser input: simple-detailed:
782s # Parser input: :
782s # Parser input: ::
782s # Parser input: :valid-detail
782s # Parser input: ::valid-detail
782s ok 28 /gobject/signals/parse-name/invalid
782s # End of parse-name tests
782s # Start of invalid-name tests
782s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names.
782s ok 29 /gobject/signals/invalid-name/colon
782s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names.
782s ok 30 /gobject/signals/invalid-name/first-char
782s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names.
782s ok 31 /gobject/signals/invalid-name/empty
782s # End of invalid-name tests
782s # End of signals tests
782s # End of gobject tests
782s ok - glib/signals.test
782s # Running test: glib/autoptr-gio.test
782s TAP version 14
782s # random seed: R02S529ab85115e6d05d30fec8523e7b0bf5
782s 1..1
782s # Start of autoptr tests
782s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
782s ok 1 /autoptr/autoptr
782s # End of autoptr tests
782s TAP version 14
782s # random seed: R02S6559f28cc0c56c8d3335ecd2db5d1955
782s 1..29
782s # Start of type tests
782s ok 1 /type/fundamentals
782s ok 2 /type/qdata
782s ok 3 /type/query
782s ok 4 /type/class-private
782s # End of type tests
782s # Start of object tests
782s ok 5 /object/clear
782s ok 6 /object/clear-function
782s ok 7 /object/set
782s ok 8 /object/set-function
782s ok 9 /object/value
782s ok 10 /object/initially-unowned
782s ok 11 /object/weak-pointer
782s ok 12 /object/weak-ref
782s ok 13 /object/toggle-ref
782s ok 14 /object/qdata
782s ok 15 /object/qdata2
782s # Start of set tests
782s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject
782s ok 16 /object/set/derived-type
782s # End of set tests
782s # Start of weak-pointer tests
782s ok 17 /object/weak-pointer/clear
782s ok 18 /object/weak-pointer/clear-function
782s ok - glib/autoptr-gio.test
782s # Running test: glib/reference.test
782s ok 19 /object/weak-pointer/set
782s ok 20 /object/weak-pointer/set-function
782s # End of weak-pointer tests
782s # Start of weak-ref tests
782s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
782s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared
782s ok 21 /object/weak-ref/on-dispose
782s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865
782s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose()
782s ok 22 /object/weak-ref/on-run-dispose
782s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
782s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared
782s ok 23 /object/weak-ref/on-toggle-notify
782s ok 24 /object/weak-ref/in-toggle-notify
782s ok 25 /object/weak-ref/many
782s # Start of concurrent tests
782s ok 26 /object/weak-ref/concurrent/0
782s ok 27 /object/weak-ref/concurrent/1
782s # End of concurrent tests
782s # End of weak-ref tests
782s # Start of toggle-ref tests
782s ok 28 /object/toggle-ref/ref-on-dispose
782s ok 29 /object/toggle-ref/ref-and-notify-on-dispose
782s # End of toggle-ref tests
782s # End of object tests
782s TAP version 14
782s # random seed: R02S3ec0407f3ac1f55f5972e85b75fb95cd
782s 1..2
782s # Start of atomic tests
782s ok 1 /atomic/types
782s ok - glib/reference.test
782s # Running test: glib/atomic-c-89.test
782s ok 2 /atomic/threaded
782s # End of atomic tests
782s ok - glib/atomic-c-89.test
782s # Running test: glib/gvariant.test
782s TAP version 14
782s # random seed: R02Sfd407a8c0a9fc3f2b2b3cd3c1876fde7
782s 1..69
782s # Start of gvariant tests
782s ok 1 /gvariant/type
782s ok 2 /gvariant/typeinfo
782s ok 3 /gvariant/string
782s ok 4 /gvariant/utf8
782s ok 5 /gvariant/utf8-new-strings
782s ok 6 /gvariant/containers
782s ok 7 /gvariant/format-strings
782s ok 8 /gvariant/invalid-varargs
782s ok 9 /gvariant/varargs
782s ok 10 /gvariant/valist
782s ok 11 /gvariant/builder-memory
782s ok 12 /gvariant/hashing
782s ok 13 /gvariant/byteswap
783s ok 14 /gvariant/parser
783s ok 15 /gvariant/parse-failures
783s ok 16 /gvariant/parse-positional
783s ok 17 /gvariant/floating
783s ok 18 /gvariant/bytestring
783s ok 19 /gvariant/lookup-value
783s ok 20 /gvariant/lookup
783s ok 21 /gvariant/compare
783s ok 22 /gvariant/equal
783s ok 23 /gvariant/fixed-array
783s ok 24 /gvariant/check-format-string
783s ok 25 /gvariant/checksum-basic
783s ok 26 /gvariant/checksum-nested
783s ok 27 /gvariant/gbytes
783s ok 28 /gvariant/print-context
783s ok 29 /gvariant/error-quark
783s ok 30 /gvariant/stack-builder-init
783s ok 31 /gvariant/stack-builder-init-static
783s ok 32 /gvariant/stack-builder-init-unset
783s ok 33 /gvariant/stack-dict-init
783s ok 34 /gvariant/unaligned-construction
783s # Start of type tests
783s # Start of string-scan tests
783s # Start of recursion tests
783s ok 35 /gvariant/type/string-scan/recursion/tuple
783s ok 36 /gvariant/type/string-scan/recursion/array
783s # End of recursion tests
783s # End of string-scan tests
783s # End of type tests
783s # Start of serialiser tests
783s ok 37 /gvariant/serialiser/maybe
783s ok 38 /gvariant/serialiser/array
783s ok 39 /gvariant/serialiser/tuple
783s ok 40 /gvariant/serialiser/variant
783s ok 41 /gvariant/serialiser/strings
784s ok 42 /gvariant/serialiser/byteswap
784s # slow test /gvariant/serialiser/byteswap executed in 1.11 secs
784s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865
784s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works
784s ok 43 /gvariant/serialiser/children
784s # Start of byteswap tests
784s ok 44 /gvariant/serialiser/byteswap/zero-sized
784s # End of byteswap tests
784s # Start of fuzz tests
784s ok 45 /gvariant/serialiser/fuzz/1%
786s # Executing: glib/gvariant.test
787s ok 46 /gvariant/serialiser/fuzz/5%
787s # slow test /gvariant/serialiser/fuzz/5% executed in 3.04 secs
788s ok 47 /gvariant/serialiser/fuzz/9%
788s ok 48 /gvariant/serialiser/fuzz/13%
788s ok 49 /gvariant/serialiser/fuzz/17%
788s # End of fuzz tests
788s # End of serialiser tests
788s # Start of utf8 tests
788s # Start of subprocess tests
788s # End of subprocess tests
788s # End of utf8 tests
788s # Start of varargs tests
788s # Start of subprocess tests
788s # End of subprocess tests
788s # End of varargs tests
788s # Start of byteswap tests
788s # /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.
788s ok 50 /gvariant/byteswap/non-normal-non-aligned
788s # End of byteswap tests
788s # Start of parser tests
788s ok 51 /gvariant/parser/integer-bounds
788s ok 52 /gvariant/parser/recursion
788s # Start of recursion tests
788s ok 53 /gvariant/parser/recursion/typedecls
788s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants
788s ok - glib/gvariant.test
788s # Running test: glib/union-info.test
788s ok - glib/union-info.test
788s # Running test: glib/utf8-performance.test
788s ok - glib/utf8-performance.test
788s # Running test: glib/refcount-macro.test
788s ok - glib/refcount-macro.test
788s # Running test: glib/srvtarget.test
788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782
788s # Text form 0: @mmmu 5
788s # Text form 1: @mmmas ['hello']
788s # Text form 2: @mmmu just just nothing
788s # Text form 3: @mmmas just just nothing
788s # Text form 4: @mmmu just nothing
788s # Text form 5: @mmmas just nothing
788s # Text form 6: @mmmu nothing
788s # Text form 7: @mmmas nothing
788s ok 54 /gvariant/parser/recursion/maybes
788s # End of recursion tests
788s # End of parser tests
788s # Start of parse tests
788s # Start of subprocess tests
788s # End of subprocess tests
788s # End of parse tests
788s # Start of normal-checking tests
788s ok 55 /gvariant/normal-checking/tuples
788s ok 56 /gvariant/normal-checking/array-offsets
788s ok 57 /gvariant/normal-checking/array-offsets2
788s ok 58 /gvariant/normal-checking/tuple-offsets
788s ok 59 /gvariant/normal-checking/tuple-offsets2
788s ok 60 /gvariant/normal-checking/tuple-offsets3
788s ok 61 /gvariant/normal-checking/tuple-offsets4
788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840
788s ok 62 /gvariant/normal-checking/tuple-offsets5
788s ok 63 /gvariant/normal-checking/empty-object-path
788s # Start of array-offsets tests
788s ok 64 /gvariant/normal-checking/array-offsets/overlapped
788s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized
788s # End of array-offsets tests
788s # Start of tuple-offsets tests
788s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized
788s # End of tuple-offsets tests
788s # End of normal-checking tests
788s # Start of recursion-limits tests
788s ok 67 /gvariant/recursion-limits/variant-in-variant
788s ok 68 /gvariant/recursion-limits/array-in-variant
788s # End of recursion-limits tests
788s # End of gvariant tests
788s # Start of gvarianttype tests
788s ok 69 /gvarianttype/hash
788s # End of gvarianttype tests
788s TAP version 14
788s # random seed: R02Sd9b8300facbb459d7301ad0762d59ccf
788s 1..2
788s # Start of union-info tests
788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_L5V652/union-info/basic/.dirs/home
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_L5V652/union-info/basic/.dirs/cache
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_L5V652/union-info/basic/.dirs/system-config1:/tmp/test_union-info_L5V652/union-info/basic/.dirs/system-config2
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_L5V652/union-info/basic/.dirs/config
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_L5V652/union-info/basic/.dirs/system-data1:/tmp/test_union-info_L5V652/union-info/basic/.dirs/system-data2
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_L5V652/union-info/basic/.dirs/data
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_L5V652/union-info/basic/.dirs/state
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_L5V652/union-info/basic/.dirs/runtime
788s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
788s # /union-info/basic summary: Test basic properties of GIUnionInfo
788s ok 1 /union-info/basic
788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_L5V652/union-info/methods/.dirs/home
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_L5V652/union-info/methods/.dirs/cache
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_L5V652/union-info/methods/.dirs/system-config1:/tmp/test_union-info_L5V652/union-info/methods/.dirs/system-config2
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_L5V652/union-info/methods/.dirs/config
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_L5V652/union-info/methods/.dirs/system-data1:/tmp/test_union-info_L5V652/union-info/methods/.dirs/system-data2
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_L5V652/union-info/methods/.dirs/data
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_L5V652/union-info/methods/.dirs/state
788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_L5V652/union-info/methods/.dirs/runtime
788s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
788s # /union-info/methods summary: Test retrieving methods from GIUnionInfo
788s ok 2 /union-info/methods
788s # End of union-info tests
788s TAP version 14
788s # random seed: R02Sa8ff8de1f34e67c37739785035308733
788s 1..36
788s # Start of utf8 tests
788s # Start of perf tests
788s # Start of get_char tests
788s # max perf: 43.0 MB/s
788s ok 1 /utf8/perf/get_char/ascii
788s # max perf: 67.0 MB/s
788s ok 2 /utf8/perf/get_char/latin1
788s # max perf: 53.3 MB/s
788s ok 3 /utf8/perf/get_char/cyrillic
788s # max perf: inf MB/s
788s ok 4 /utf8/perf/get_char/han
788s # End of get_char tests
788s # Start of get_char-backwards tests
788s # max perf: 43.0 MB/s
788s ok 5 /utf8/perf/get_char-backwards/ascii
788s # max perf: 67.0 MB/s
788s ok 6 /utf8/perf/get_char-backwards/latin1
788s # max perf: 160.0 MB/s
788s ok 7 /utf8/perf/get_char-backwards/cyrillic
788s # max perf: 78.0 MB/s
788s ok 8 /utf8/perf/get_char-backwards/han
788s # End of get_char-backwards tests
788s # Start of get_char_validated tests
788s # max perf: 43.0 MB/s
788s ok 9 /utf8/perf/get_char_validated/ascii
788s # max perf: 67.0 MB/s
788s ok 10 /utf8/perf/get_char_validated/latin1
788s # max perf: 160.0 MB/s
788s ok 11 /utf8/perf/get_char_validated/cyrillic
788s # max perf: 156.0 MB/s
788s ok 12 /utf8/perf/get_char_validated/han
788s # End of get_char_validated tests
788s # Start of utf8_to_ucs4 tests
788s # max perf: 21.5 MB/s
788s ok 13 /utf8/perf/utf8_to_ucs4/ascii
788s # max perf: 67.0 MB/s
788s ok 14 /utf8/perf/utf8_to_ucs4/latin1
788s # max perf: 160.0 MB/s
788s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic
788s # max perf: 156.0 MB/s
788s ok 16 /utf8/perf/utf8_to_ucs4/han
788s # End of utf8_to_ucs4 tests
788s # Start of utf8_to_ucs4-sized tests
788s # max perf: 7.2 MB/s
788s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii
788s # max perf: 13.4 MB/s
788s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1
788s # max perf: 53.3 MB/s
788s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic
788s # max perf: 156.0 MB/s
788s ok 20 /utf8/perf/utf8_to_ucs4-sized/han
788s # End of utf8_to_ucs4-sized tests
788s # Start of utf8_to_ucs4_fast tests
788s # max perf: inf MB/s
788s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii
788s # max perf: 67.0 MB/s
788s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1
788s # max perf: 160.0 MB/s
788s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic
788s # max perf: inf MB/s
788s ok 24 /utf8/perf/utf8_to_ucs4_fast/han
788s # End of utf8_to_ucs4_fast tests
788s # Start of utf8_to_ucs4_fast-sized tests
788s # max perf: 43.0 MB/s
788s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii
788s # max perf: 67.0 MB/s
788s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1
788s # max perf: 160.0 MB/s
788s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic
788s # max perf: 78.0 MB/s
788s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han
788s # End of utf8_to_ucs4_fast-sized tests
788s # Start of utf8_validate tests
788s # max perf: inf MB/s
788s ok 29 /utf8/perf/utf8_validate/ascii
788s # max perf: 67.0 MB/s
788s ok 30 /utf8/perf/utf8_validate/latin1
788s # max perf: 160.0 MB/s
788s ok 31 /utf8/perf/utf8_validate/cyrillic
788s # max perf: 156.0 MB/s
788s ok 32 /utf8/perf/utf8_validate/han
788s # End of utf8_validate tests
788s # Start of utf8_validate-sized tests
788s # max perf: inf MB/s
788s ok 33 /utf8/perf/utf8_validate-sized/ascii
788s # max perf: 67.0 MB/s
788s ok 34 /utf8/perf/utf8_validate-sized/latin1
788s # max perf: 80.0 MB/s
788s ok 35 /utf8/perf/utf8_validate-sized/cyrillic
788s # max perf: 156.0 MB/s
788s ok 36 /utf8/perf/utf8_validate-sized/han
788s # End of utf8_validate-sized tests
788s # End of perf tests
788s # End of utf8 tests
788s TAP version 14
788s # random seed: R02S2fd7a719321f2a25a3ec1870bb850d39
788s 1..4
788s # Start of refcount tests
788s ok 1 /refcount/grefcount
788s ok 2 /refcount/gatomicrefcount
788s # Start of grefcount tests
788s ok 3 /refcount/grefcount/saturation
788s # End of grefcount tests
788s # Start of gatomicrefcount tests
788s ok 4 /refcount/gatomicrefcount/saturation
788s # End of gatomicrefcount tests
788s # End of refcount tests
788s TAP version 14
788s # random seed: R02Sba234e2b72bbee9a7cf8ca7fa05fd722
788s 1..1
788s # Start of srvtarget tests
789s ok 1 /srvtarget/srv-target-ordering
789s # slow test /srvtarget/srv-target-ordering executed in 0.76 secs
789s # End of srvtarget tests
789s ok - glib/srvtarget.test
789s # Running test: glib/gdbus-connection.test
789s TAP version 14
789s # random seed: R02S7582073da9b882af996e21c1647fa5a5
789s 1..9
789s # Start of gdbus tests
789s # Start of connection tests
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/bus-failure/.dirs/runtime
789s ok 1 /gdbus/connection/bus-failure
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/basic/.dirs/runtime
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 2 /gdbus/connection/basic
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/life-cycle/.dirs/runtime
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 3 /gdbus/connection/life-cycle
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/send/.dirs/runtime
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 4 /gdbus/connection/send
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/signals/.dirs/runtime
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 5 /gdbus/connection/signals
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/signal-match-rules/.dirs/runtime
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 6 /gdbus/connection/signal-match-rules
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/filter/.dirs/runtime
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 7 /gdbus/connection/filter
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/serials/.dirs/runtime
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 8 /gdbus/connection/serials
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/home
789s ok - glib/gdbus-connection.test
789s # Running test: glib/mem-overflow.test
789s ok - glib/mem-overflow.test
789s # Running test: glib/function-info.test
789s ok - glib/function-info.test
789s # Running test: glib/keyfile.test
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_B87052/gdbus/connection/cancel/.dirs/runtime
789s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
789s ok 9 /gdbus/connection/cancel
789s # End of connection tests
789s # End of gdbus tests
789s TAP version 14
789s # random seed: R02S2d46be84fdfda1e8c9ebae947f523cd9
789s 1..2
789s # Start of mem tests
789s ok 1 /mem/overflow
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379
789s ok 2 /mem/empty-alloc
789s # Start of overflow tests
789s # Start of subprocess tests
789s # End of subprocess tests
789s # End of overflow tests
789s # Start of empty-alloc tests
789s # End of empty-alloc tests
789s # End of mem tests
789s TAP version 14
789s # random seed: R02S72c2c4b25959eb722b31de5748d7d7a9
789s 1..1
789s # Start of function-info tests
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_UH8W52/function-info/invoker/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_UH8W52/function-info/invoker/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_UH8W52/function-info/invoker/.dirs/runtime
789s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
789s # /function-info/invoker summary: Test preparing a function invoker
789s ok 1 /function-info/invoker
789s # End of function-info tests
789s TAP version 14
789s # random seed: R02Sb451a2c02d0132abe909cc444c87310b
789s 1..36
789s # Start of keyfile tests
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/line-ends/.dirs/runtime
789s ok 1 /keyfile/line-ends
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/whitespace/.dirs/runtime
789s ok 2 /keyfile/whitespace
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/comments/.dirs/runtime
789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104
789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
789s ok 3 /keyfile/comments
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/listing/.dirs/runtime
789s ok 4 /keyfile/listing
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/string/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/string/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/string/.dirs/runtime
789s ok 5 /keyfile/string
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/boolean/.dirs/runtime
789s ok 6 /keyfile/boolean
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/number/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/number/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/number/.dirs/runtime
789s ok 7 /keyfile/number
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/locale-string/.dirs/runtime
789s ok 8 /keyfile/locale-string
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/lists/.dirs/runtime
789s ok 9 /keyfile/lists
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/lists-set-get/.dirs/runtime
789s ok 10 /keyfile/lists-set-get
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/group-remove/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887
789s ok 11 /keyfile/group-remove
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/key-remove/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980
789s ok 12 /keyfile/key-remove
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/groups/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309
789s ok 13 /keyfile/groups
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/duplicate-keys/.dirs/runtime
789s ok 14 /keyfile/duplicate-keys
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877
789s ok 15 /keyfile/duplicateok - glib/keyfile.test
789s # Running test: glib/dynamictests.test
789s -groups
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/duplicate-groups2/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910
789s ok 16 /keyfile/duplicate-groups2
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/group-names/.dirs/runtime
789s ok 17 /keyfile/group-names
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/key-names/.dirs/runtime
789s ok 18 /keyfile/key-names
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/reload/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686
789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927
789s ok 19 /keyfile/reload
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/int64/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864
789s ok 20 /keyfile/int64
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/load/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/load/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/load/.dirs/runtime
789s ok 21 /keyfile/load
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/save/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/save/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/save/.dirs/runtime
789s ok 22 /keyfile/save
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/load-fail/.dirs/runtime
789s ok 23 /keyfile/load-fail
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/non-utf8/.dirs/runtime
789s ok 24 /keyfile/non-utf8
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/page-boundary/.dirs/runtime
789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695
789s ok 25 /keyfile/page-boundary
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/ref/.dirs/runtime
789s ok 26 /keyfile/ref
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/replace-value/.dirs/runtime
789s ok 27 /keyfile/replace-value
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/list-separator/.dirs/runtime
789s ok 28 /keyfile/list-separator
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/empty-string/.dirs/runtime
789s ok 29 /keyfile/empty-string
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/limbo/.dirs/runtime
789s ok 30 /keyfile/limbo
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/utf8/.dirs/runtime
789s # Testing invalid encoding ?non-UTF-8
789s # Testing invalid encoding ?UTF?
789s # Testing invalid encoding ?UTF-9?
789s ok 31 /keyfile/utf8
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/roundtrip/.dirs/runtime
789s ok 32 /keyfile/roundtrip
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/bytes/.dirs/runtime
789s ok 33 /keyfile/bytes
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/get-locale/.dirs/runtime
789s ok 34 /keyfile/get-locale
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/free-when-not-last-ref/.dirs/runtime
789s ok 35 /keyfile/free-when-not-last-ref
789s # Start of locale-string tests
789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/home
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/cache
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/system-config2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/config
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/system-data2
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/data
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/state
789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_J9GX52/keyfile/locale-string/multiple-loads/.dirs/runtime
789s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works
789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361
789s ok 36 /keyfile/locale-string/multiple-loads
789s # End of locale-string tests
789s # End of keyfile tests
789s TAP version 14
789s # random seed: R02Sadcef5650cb3dc53b79db89ad850a609
789s 1..2
789s # Start of GObject tests
789s ok - glib/dynamictests.test
789s # Running test: glib/thread.test
789s ok 1 /GObject/threaded-dynamic-ref-unref-init
789s ok 2 /GObject/dynamic-interface-properties
789s # End of GObject tests
789s TAP version 14
789s # random seed: R02Scac727d34c79e32c8cc64d9500a632b9
789s 1..7
789s ok - glib/thread.test
789s # Running test: glib/qdata.test
789s # Start of thread tests
789s ok 1 /thread/thread1
789s ok 2 /thread/thread2
789s ok 3 /thread/thread3
789s ok 4 /thread/thread4
789s ok 5 /thread/thread5
789s ok 6 /thread/thread6
789s ok 7 /thread/thread7
789s # End of thread tests
789s TAP version 14
789s # random seed: R02S07bde11fabc8e6b9675a1011e0e7ac88
789s 1..2
789s # Start of qdata tests
789s ok - glib/qdata.test
789s ok 1 /qdata/threaded
789s ok 2 /qdata/dup
789s # End of qdata tests
789s # Running test: glib/autoptr.test
789s TAP version 14
789s # random seed: R02Saf321daf26d9eb72af26e2938dae1473
789s ok - glib/autoptr.test
789s 1..6
789s # Start of autoptr tests
789s ok 1 /autoptr/autoptr
789s ok 2 /autoptr/autoptr_steal
789s ok 3 /autoptr/autolist
789s ok 4 /autoptr/autoslist
789s ok 5 /autoptr/autoqueue
789s ok 6 /autoptr/autoclass
789s # End of autoptr tests
789s # Running test: glib/markup-subparser.test
789s TAP version 14
789s # random seed: R02Sa889481ff8171cac72b3f18f36abdd6e
789s ok - glib/markup-subparser.test
789s 1..14
789s # Start of glib tests
789s # Start of markup tests
789s # Start of subparser tests
789s # Start of success tests
789s ok 1 /glib/markup/subparser/success/0
789s ok 2 /glib/markup/subparser/success/1
789s ok 3 /glib/markup/subparser/success/2
789s ok 4 /glib/markup/subparser/success/3
789s ok 5 /glib/markup/subparser/success/4
789s ok 6 /glib/markup/subparser/success/5
789s ok 7 /glib/markup/subparser/success/6
789s # End of success tests
789s # Start of failure tests
789s ok 8 /glib/markup/subparser/failure/0
789s ok 9 /glib/markup/subparser/failure/1
789s ok 10 /glib/markup/subparser/failure/2
789s ok 11 /glib/markup/subparser/failure/3
789s ok 12 /glib/markup/subparser/failure/4
789s ok 13 /glib/markup/subparser/failure/5
789s ok 14 /glib/markup/subparser/failure/6
789s # End of failure tests
789s # End of subparser tests
789s # End of markup tests
789s # End of glib tests
789s # Running test: glib/atomic-c-17.test
789s TAP version 14
789s # random seed: R02Sffe320c10e25c73dbd77d0a5f6b950df
789s 1..2
789s # Start of atomic tests
789s ok 1 /atomic/types
789s ok 2 /atomic/threaded
789s # End of atomic tests
789s ok - glib/atomic-c-17.test
789s # Running test: glib/thread-pool-slow.test
789s TAP version 14
789s # random seed: R02Seef0c63595bbc2a3a182c2d80dbf4b04
789s 1..7
789s # Start of threadpool tests
789s ok 1 /threadpool/functions
790s ok 2 /threadpool/stop-unused
790s # slow test /threadpool/stop-unused executed in 0.51 secs
790s ok 3 /threadpool/pools
790s # [unsorted] ===> pushed new thread with id:20, number of threads:1, unprocessed:0
790s # [unsorted] ===> pushed new thread with id:44, number of threads:2, unprocessed:1
790s # [unsorted] ===> pushed new thread with id:28, number of threads:3, unprocessed:2
790s # [unsorted] ===> pushed new thread with id:42, number of threads:4, unprocessed:3
790s # [unsorted] ===> pushed new thread with id:17, number of threads:5, unprocessed:4
790s # [unsorted] ===> pushed new thread with id:40, number of threads:6, unprocessed:5
790s # [unsorted] ===> pushed new thread with id:24, number of threads:7, unprocessed:6
790s # [unsorted] ===> pushed new thread with id:22, number of threads:8, unprocessed:6
790s # [unsorted] ===> pushed new thread with id:62, number of threads:9, unprocessed:7
790s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:7
790s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:7
790s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:8
790s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:9
790s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:10
790s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:11
790s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:12
790s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:13
790s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:14
790s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:15
790s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:16
790s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:17
790s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:18
790s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:19
790s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:20
790s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:21
790s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:22
790s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:23
790s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:24
790s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:25
790s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:26
790s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:27
790s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:28
790s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:29
790s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:30
790s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:31
790s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:32
790s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:33
790s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:34
790s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:35
790s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:36
790s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:37
790s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:38
790s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:39
790s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:40
790s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:41
790s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:42
790s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:43
790s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:44
790s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:45
790s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:46
790s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:47
790s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:48
790s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:49
790s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:50
790s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:51
790s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:52
790s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:53
790s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:54
790s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:55
790s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:56
790s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:57
790s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:58
790s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:59
790s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:60
790s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:61
790s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:62
790s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:63
790s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:64
790s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:65
790s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:66
790s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:67
790s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:68
790s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:69
790s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:70
790s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:71
790s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:72
790s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:73
790s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:74
790s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:75
790s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:76
790s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:77
790s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:78
790s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:79
790s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:80
790s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:81
790s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:82
790s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:83
790s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:84
790s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:85
790s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:86
790s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:87
790s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:88
790s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:89
790s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:90
790s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:91
790s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:92
790s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:93
790s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:94
790s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:95
790s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:96
790s ok 4 /threadpool/no-sort
790s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:1
790s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:2
790s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:3
790s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:4
790s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:5
790s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:6
790s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:7
790s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:8
790s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:9
790s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:10
790s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:11
790s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:12
790s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:13
790s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:14
790s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:15
790s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:16
790s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:17
790s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:18
790s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:19
790s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:20
790s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:21
790s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:22
790s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:23
790s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:24
790s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:25
790s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:26
790s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:27
790s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:28
790s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:29
790s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:30
790s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:31
790s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:32
790s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:33
790s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:34
790s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:35
790s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:36
790s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:37
790s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:38
790s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:39
790s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:40
790s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:41
790s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:42
790s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:43
790s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:44
790s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:45
790s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:46
790s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:47
790s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:48
790s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:49
790s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:50
790s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:51
790s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:52
790s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:53
790s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:54
790s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:55
790s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:56
790s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:57
790s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:58
790s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:59
790s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:60
790s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:61
790s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:62
790s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:63
790s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:64
790s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:65
790s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:66
790s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:67
790s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:68
790s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:69
790s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:70
790s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:71
790s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:72
790s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:73
790s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:74
790s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:75
790s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:76
790s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:77
790s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:78
790s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:79
790s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:80
790s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:81
790s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:82
790s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:83
790s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:84
790s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:85
790s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:86
790s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:87
790s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:88
790s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:89
790s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:90
790s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:91
790s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:92
790s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:93
790s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:94
790s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:95
790s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:96
790s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:97
790s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:98
790s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:99
790s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:100
790s # Starting thread pool processing
790s ok 5 /threadpool/sort
790s ok 6 /threadpool/stop-unused-multiple
790s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
790s # Pool idle thread count: 0, unprocessed jobs: 50
791s # Executing: glib/thread-pool-slow.test
791s # Pool idle thread count: 0, unprocessed jobs: 0
791s # Pool idle thread count: 0, unprocessed jobs: 0
791s # Pool idle thread count: 10, unprocessed jobs: 0
791s # Pool idle thread count: 10, unprocessed jobs: 0
792s # Pool idle thread count: 10, unprocessed jobs: 0
792s # Pool idle thread count: 10, unprocessed jobs: 0
792s # Pool idle thread count: 10, unprocessed jobs: 0
792s # Pool idle thread count: 10, unprocessed jobs: 0
793s # Pool idle thread count: 10, unprocessed jobs: 0
793s # Pool idle thread count: 10, unprocessed jobs: 0
793s # Pool idle thread count: 10, unprocessed jobs: 0
793s # Pool idle thread count: 10, unprocessed jobs: 0
794s # Pool idle thread count: 10, unprocessed jobs: 0
794s # Pool idle thread count: 10, unprocessed jobs: 0
794s # Pool idle thread count: 10, unprocessed jobs: 0
794s # Pool idle thread count: 10, unprocessed jobs: 0
795s # Pool idle thread count: 10, unprocessed jobs: 0
795s # Pool idle thread count: 10, unprocessed jobs: 0
795s # Pool idle thread count: 10, unprocessed jobs: 0
795s # Pool idle thread count: 10, unprocessed jobs: 0
796s # Executing: glib/thread-pool-slow.test
796s # Pool idle thread count: 10, unprocessed jobs: 0
796s # Pool idle thread count: 10, unprocessed jobs: 0
796s # Pool idle thread count: 10, unprocessed jobs: 0
796s # Pool idle thread count: 10, unprocessed jobs: 0
797s # Pool idle thread count: 10, unprocessed jobs: 0
797s # Pool idle thread count: 10, unprocessed jobs: 0
797s # Pool idle thread count: 10, unprocessed jobs: 0
797s # Pool idle thread count: 10, unprocessed jobs: 0
798s # Pool idle thread count: 10, unprocessed jobs: 0
798s # Pool idle thread count: 10, unprocessed jobs: 0
798s # Pool idle thread count: 10, unprocessed jobs: 0
798s # Pool idle thread count: 10, unprocessed jobs: 0
799s # Pool idle thread count: 10, unprocessed jobs: 0
799s # Pool idle thread count: 10, unprocessed jobs: 0
799s # Pool idle thread count: 8, unprocessed jobs: 0
799s # Pool idle thread count: 8, unprocessed jobs: 0
800s # Pool idle thread count: 8, unprocessed jobs: 0
800s # Pool idle thread count: 8, unprocessed jobs: 0
800s # Pool idle thread count: 10, unprocessed jobs: 0
800s # Pool idle thread count: 10, unprocessed jobs: 0
801s # Executing: glib/thread-pool-slow.test
801s # Pool idle thread count: 10, unprocessed jobs: 0
801s # Pool idle thread count: 10, unprocessed jobs: 0
802s # Pool idle thread count: 2, unprocessed jobs: 0
802s # Pool idle thread count: 2, unprocessed jobs: 0
802s # Pool idle thread count: 2, unprocessed jobs: 0
802s # Pool idle thread count: 2, unprocessed jobs: 0
803s # Pool idle thread count: 2, unprocessed jobs: 0
803s # Pool idle thread count: 2, unprocessed jobs: 0
803s # Pool idle thread count: 2, unprocessed jobs: 0
803s # Pool idle thread count: 2, unprocessed jobs: 0
804s # Pool idle thread count: 2, unprocessed jobs: 0
804s # Pool idle thread count: 2, unprocessed jobs: 0
804s # Pool idle thread count: 2, unprocessed jobs: 0
804s # Pool idle thread count: 2, unprocessed jobs: 0
805s # Pool idle thread count: 2, unprocessed jobs: 0
805s # Pool idle thread count: 2, unprocessed jobs: 0
805s # Pool idle thread count: 2, unprocessed jobs: 0
805s # Pool idle thread count: 2, unprocessed jobs: 0
806s # Executing: glib/thread-pool-slow.test
806s # Pool idle thread count: 2, unprocessed jobs: 0
806s # Pool idle thread count: 2, unprocessed jobs: 0
806s # Pool idle thread count: 2, unprocessed jobs: 0
806s # Pool idle thread count: 2, unprocessed jobs: 0
807s # Pool idle thread count: 2, unprocessed jobs: 0
807s # Pool idle thread count: 2, unprocessed jobs: 0
807s # Pool idle thread count: 2, unprocessed jobs: 0
807s # Pool idle thread count: 2, unprocessed jobs: 0
808s # Pool idle thread count: 2, unprocessed jobs: 0
808s # Pool idle thread count: 2, unprocessed jobs: 0
808s # Pool idle thread count: 2, unprocessed jobs: 0
808s # Pool idle thread count: 2, unprocessed jobs: 0
809s # Pool idle thread count: 2, unprocessed jobs: 0
809s # Pool idle thread count: 2, unprocessed jobs: 0
809s # Pool idle thread count: 2, unprocessed jobs: 0
809s # Pool idle thread count: 2, unprocessed jobs: 0
810s ok - glib/thread-pool-slow.test
810s ok 7 /threadpool/idle-time
810s # slow test /threadpool/idle-time executed in 19.58 secs
810s # End of threadpool tests
810s # Running test: glib/spawn-path-search.test
810s TAP version 14
810s # random seed: R02S299c1a18d6aedbb2af84be4b818e0d61
810s 1..7
810s # Start of spawn tests
810s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper.
810s #
810s # this is spawn-test-helper from glib/tests
810s #
810s ok 1 /spawn/do-not-search
810s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper.
810s #
810s # this is spawn-test-helper from path-test-subdir
810s #
810s ok 2 /spawn/search-path
810s # /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.
810s ok - glib/spawn-path-search.test
810s # Running test: glib/1bit-mutex.test
810s #
810s # this is spawn-test-helper from path-test-subdir
810s #
810s ok 3 /spawn/search-path-from-envp
810s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins.
810s #
810s # this is spawn-test-helper from path-test-subdir
810s #
810s ok 4 /spawn/search-path-ambiguous
810s #
810s # this is spawn-test-helper from path-test-subdir
810s #
810s ok 5 /spawn/search-path-heap-allocation
810s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used.
810s #
810s # this is spawn-test-helper from glib/tests
810s #
810s ok 6 /spawn/search-path-fallback-in-environ
810s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used.
810s #
810s # this is spawn-test-helper from glib/tests
810s #
810s ok 7 /spawn/search-path-fallback-in-envp
810s # End of spawn tests
810s TAP version 14
810s # random seed: R02Sbcb6e095f69a197a408ea92d584a3f74
810s 1..2
810s # Start of glib tests
810s # Start of 1bit-mutex tests
811s # Executing: glib/1bit-mutex.test
813s ok 1 /glib/1bit-mutex/int
813s # slow test /glib/1bit-mutex/int executed in 3.04 secs
816s # Executing: glib/1bit-mutex.test
817s ok - glib/1bit-mutex.test
817s # Running test: glib/test-printf.test
817s ok 2 /glib/1bit-mutex/pointer
817s # slow test /glib/1bit-mutex/pointer executed in 4.22 secs
817s # End of 1bit-mutex tests
817s # End of glib tests
817s TAP version 14
817s # random seed: R02Sfe620e5197c6960cbedc73ddde826b4b
817s 1..22
817s # Start of snprintf tests
817s ok 1 /snprintf/retval-and-trunc
817s ok 2 /snprintf/%d
817s ok 3 /snprintf/%d-invalid
817s ok 4 /snprintf/%o
817s ok 5 /snprintf/%u
817s ok 6 /snprintf/%x
817s ok 7 /snprintf/%X
817s ok 8 /snprintf/%f
817s ok 9 /snprintf/%e
817s ok 10 /snprintf/%c
817s ok 11 /snprintf/%s
817s ok 12 /snprintf/%n
817s ok 13 /snprintf/test-percent
817s ok 14 /snprintf/test-positional-params
817s ok 15 /snprintf/test-64bit
817s # End of snprintf tests
817s # Start of printf tests
817s ok 16 /printf/test-percent
817s ok 17 /printf/test-positional-params
817s ok 18 /printf/test-64bit
817s # Start of test-64bit tests
817s # Start of subprocess tests
817s # End of subprocess tests
817s # End of test-64bit tests
817s # End of printf tests
817s # Start of sprintf tests
817s ok 19 /sprintf/test-positional-params
817s ok 20 /sprintf/upper-bound
817s # End of sprintf tests
817s # Start of vasprintf tests
817s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf()
817s ok 21 /vasprintf/invalid-format-placeholder
817s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf()
817s ok 22 /vasprintf/invalid-wide-string
817s # End of vasprintf tests
817s TAP version 14
817s # random seed: R02S8955733148558ec848bec9050962c5d6
817s 1..3
817s # Start of hostutils tests
817s ok 1 /hostutils/to_ascii
817s ok 2 /hostutils/to_unicode
817s ok 3 /hostutils/is_ip_addr
817s # End of hostutils tests
817s ok - glib/test-printf.test
817s # Running test: glib/hostutils.test
817s ok - glib/hostutils.test
817s # Running test: glib/performance.test
821s # Executing: glib/performance.test
827s # Executing: glib/performance.test
832s # Executing: glib/performance.test
834s simple-construction: Millions of constructed objects per second: 19.951
837s # Executing: glib/performance.test
837s simple-construction1: Millions of constructed objects per second: 68.402
840s complex-construction: Millions of constructed objects per second: 6.957
842s # Executing: glib/performance.test
846s complex-construction1: Millions of constructed objects per second: 11.667
847s # Executing: glib/performance.test
851s complex-construction2: Millions of constructed objects per second: 13.568
852s # Executing: glib/performance.test
853s finalization: Millions of finalized objects per second: 3.602
854s type-check: Million type checks per second: 76.83
856s emit-unhandled: Emissions per second: 7838022
857s # Executing: glib/performance.test
857s emit-unhandled-empty: Emissions per second: 49242047
858s emit-unhandled-generic: Emissions per second: 13334215
859s emit-unhandled-generic-empty: Emissions per second: 49300190
860s emit-unhandled-args: Emissions per second: 6356724
861s emit-handled: Emissions per second: 5277416
862s # Executing: glib/performance.test
864s emit-handled-empty: Emissions per second: 5655321
867s # Executing: glib/performance.test
867s emit-handled-generic: Emissions per second: 5608848
871s emit-handled-generic-empty: Emissions per second: 10270510
872s # Executing: glib/performance.test
872s emit-handled-args: Emissions per second: 4691803
874s notify-unhandled: Notify (unhandled) per second: 32039884
876s notify-by-pspec-unhandled: Notify (unhandled) per second: 114928580
877s # Executing: glib/performance.test
877s notify-handled: Notify per second: 2962634
878s notify-by-pspec-handled: Notify per second: 3158357
879s property-set: Property set per second: 19402129
881s property-set-signaled: Property set per second: 3735734
882s # Executing: glib/performance.test
882s property-get: Property get per second: 17882996
884s refcount: Million refs+unref per second: 52.85
885s refcount-1: Million refs+unref per second: 142.00
886s refcount-toggle: Million refs+unref per second: 74.11
886s ok - glib/performance.test
886s # Running test: glib/cxx-98.test
886s TAP version 14
886s # random seed: R02S15ee18238b28aaf892947ff2928b34ea
886s 1..2
886s # Start of gtask tests
886s # 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.
886s ok 1 /gtask/name
886s # Start of name tests
886s # 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.
886s ok 2 /gtask/name/macro-wrapper
886s # End of name tests
886s # End of gtask tests
886s ok - glib/cxx-98.test
886s # Running test: glib/closure.test
886s TAP version 14
886s # random seed: R02Sa8d7b33ff1c911d24636e89da4e11fec
886s ok - glib/closure.test
886s # Running test: glib/socket-address.test
886s ok - glib/socket-address.test
886s # Running test: glib/utf8-pointer.test
886s 1..6
886s # Start of closure tests
886s ok 1 /closure/idle
886s ok 2 /closure/timeout
886s ok 3 /closure/iochannel
886s ok 4 /closure/child
886s ok 5 /closure/fd
886s ok 6 /closure/signal
886s # End of closure tests
886s TAP version 14
886s # random seed: R02Sd78d73476096ad5a584d44fa81fa96ac
886s 1..2
886s # Start of socket tests
886s # Start of address tests
886s # Start of unix tests
886s ok 1 /socket/address/unix/construct
886s ok 2 /socket/address/unix/to-string
886s # End of unix tests
886s # End of address tests
886s # End of socket tests
886s TAP version 14
886s # random seed: R02Sa2657263d33c070dac0beb0b2501ab81
886s 1..3
886s # Start of utf8 tests
887s # Executing: glib/utf8-pointer.test
887s ok 1 /utf8/offsets
887s # slow test /utf8/offsets executed in 0.78 secs
887s ok - glib/utf8-pointer.test
887s ok 2 /utf8/lengths
887s ok 3 /utf8/find
887s # End of utf8 tests
887s # Running test: glib/cxx-03.test
887s TAP version 14
887s # random seed: R02S47b1d4b1068097f1980af4fd349304f4
887s 1..2
887s # Start of gtask tests
887s # 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.
887s ok 1 /gtask/name
887s # Start of name tests
887s # 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.
887s ok 2 /gtask/name/macro-wrapper
887s # End of name tests
887s # End of gtask tests
887s ok - glib/cxx-03.test
887s # Running test: glib/properties-refcount3.test
887s TAP version 14
887s # random seed: R02Sde544cd8e1bee7cfc9fb44c92c7aaa8c
887s 1..1
887s # Start of gobject tests
887s # Start of refcount tests
892s # Executing: glib/properties-refcount3.test
897s # Executing: glib/properties-refcount3.test
902s # Executing: glib/properties-refcount3.test
907s # Executing: glib/properties-refcount3.test
912s # Executing: glib/properties-refcount3.test
917s # Executing: glib/properties-refcount3.test
917s #
917s # stopping
917s #
917s # stopped
917s #
917s # 47865879 1117497
917s #
917s ok 1 /gobject/refcount/properties-3
917s # slow test /gobject/refcount/properties-3 executed in 30.00 secs
917s # End of refcount tests
917s # End of gobject tests
917s ok - glib/properties-refcount3.test
917s # Running test: glib/data-output-stream.test
917s TAP version 14
917s # random seed: R02Sa29aefc5fb6f1380836bbe8581f92b45
917s 1..7
917s # Start of data-output-stream tests
917s ok - glib/data-output-stream.test
917s # Running test: glib/contenttype.test
917s ok - glib/contenttype.test
917s # Running test: glib/utils.test
917s ok 1 /data-output-stream/basic
917s ok 2 /data-output-stream/write-lines-LF
917s ok 3 /data-output-stream/write-lines-CR
917s ok 4 /data-output-stream/write-lines-CR-LF
917s ok 5 /data-output-stream/write-int
917s ok 6 /data-output-stream/seek
917s ok 7 /data-output-stream/truncate
917s # End of data-output-stream tests
917s TAP version 14
917s # random seed: R02S9b2a1d3b420dc4de3246c53394fcd092
917s 1..14
917s # Start of contenttype tests
917s ok 1 /contenttype/guess
917s ok 2 /contenttype/guess_svg_from_data
917s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX
917s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX
917s ok 5 /contenttype/unknown
917s ok 6 /contenttype/subtype
917s ok 7 /contenttype/list
917s ok 8 /contenttype/executable
917s ok 9 /contenttype/description
917s ok 10 /contenttype/icon
917s ok 11 /contenttype/symbolic-icon
917s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
917s ok 12 /contenttype/tree
917s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168
917s ok 13 /contenttype/tree_invalid_encoding
917s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311
917s ok 14 /contenttype/test_type_is_a_special_case
917s # End of contenttype tests
917s TAP version 14
917s # random seed: R02S1cc3fade0a55e3f7f1c6d04c0a93e36c
917s 1..41
917s # Start of utils tests
917s ok 1 /utils/language-names
917s ok 2 /utils/locale-variants
917s ok 3 /utils/version
917s ok 4 /utils/appname
917s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
917s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
917s ok 5 /utils/prgname-thread-safety
917s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
917s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
917s ok 6 /utils/tmpdir
917s ok 7 /utils/basic_bits
917s ok 8 /utils/bits
917s ok 9 /utils/swap
917s ok 10 /utils/find-program
917s ok 11 /utils/find-program-for-path
917s ok 12 /utils/debug
917s ok 13 /utils/codeset
917s ok 14 /utils/codeset2
917s ok 15 /utils/console-charset
917s ok 16 /utils/gettext
917s ok 17 /utils/username
917s ok 18 /utils/realname
917s ok 19 /utils/hostname
917s ok 20 /utils/xdgdirs
917s ok 21 /utils/specialdir
917s # NAME: Ubuntu
917s ok 22 /utils/os-info
917s ok 23 /utils/clear-pointer
917s ok 24 /utils/clear-pointer-cast
917s ok 25 /utils/take-pointer
917s ok 26 /utils/clear-source
917s ok 27 /utils/misc-mem
917s # /utils/aligned-mem summary: Aligned memory allocator
917s # Alignment must not be zero
917s # Alignment must be a power of two
917s # Alignment must be a multiple of sizeof(void*)
917s ok 28 /utils/aligned-mem
917s # /utils/free-sized summary: Check that g_free_sized() works
917s ok 29 /utils/free-sized
917s ok 30 /utils/nullify
917s ok 31 /utils/atexit
917s ok 32 /utils/check-setuid
917s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
917s ok 33 /utils/int-limits
917s ok 34 /utils/clear-list
917s ok 35 /utils/clear-slist
917s ok - glib/utils.test
917s # Running test: glib/null-settings-backend.test
917s ok - glib/null-settings-backend.test
917s # Running test: glib/performance-threaded.test
917s ok 36 /utils/steal-handle-id
917s # Start of specialdir tests
917s ok 37 /utils/specialdir/desktop
917s # End of specialdir tests
917s # Start of clear-pointer tests
917s ok 38 /utils/clear-pointer/side-effects
917s # End of clear-pointer tests
917s # Start of aligned-mem tests
917s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
917s ok 39 /utils/aligned-mem/alignment
917s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
917s ok 40 /utils/aligned-mem/zeroed
917s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
917s ok 41 /utils/aligned-mem/free-sized
917s # Start of subprocess tests
917s # End of subprocess tests
917s # End of aligned-mem tests
917s # End of utils tests
917s TAP version 14
917s # random seed: R02S9d520983e48d84c48e7dca622048cb63
917s 1..1
917s # Start of null-settings-backend tests
917s ok 1 /null-settings-backend/extension-point-registered
917s # End of null-settings-backend tests
917s Running test "liststore-is-a"
918s 11616 runs, min/avg/max = 0.072/0.086/0.919 ms
918s Running test "liststore-interface-peek"
919s 27145 runs, min/avg/max = 0.036/0.037/0.186 ms
919s Running test "liststore-interface-peek-same"
920s 28747 runs, min/avg/max = 0.034/0.035/0.219 ms
920s ok - glib/performance-threaded.test
920s # Running test: glib/gdbus-server-auth.test
920s TAP version 14
920s # random seed: R02S81cda4ffaa8db31b8e2e23d7138e05e7
920s 1..9
920s # Start of gdbus tests
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/.dirs/runtime
920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-FMM652 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-FMM652/dbus-PA7b3Gkt
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12245
920s ok 1 /gdbus/server-auth
920s # Start of server-auth tests
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/abstract/.dirs/runtime
920s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-HM3552 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-HM3552/dbus-gevM2xWa
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12245
920s ok 2 /gdbus/server-auth/abstract
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/tcp/.dirs/runtime
920s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
920s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/.dirs/runtime
920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-829552 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-829552/dbus-pghmd4D9
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12245
920s ok 4 /gdbus/server-auth/anonymous
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/.dirs/runtime
920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-F6V152 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-F6V152/dbus-itKm9VEv
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12245
920s ok 5 /gdbus/server-auth/external
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/.dirs/runtime
920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-OZ2152 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
920s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
920s # Start of anonymous tests
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/anonymous/tcp/.dirs/runtime
920s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
920s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
920s # End of anonymous tests
920s # Start of external tests
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/external/require-same-user/.dirs/runtime
920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-FB4152 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2IM652/gdbus-server-auth-FB4152/dbus-n3rj7vhs
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12245
920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12245,uid=1000,gid=1000
920s ok - glib/gdbus-server-auth.test
920s # Running test: glib/mkenums.py.test
920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12245
920s ok 8 /gdbus/server-auth/external/require-same-user
920s # End of external tests
920s # Start of sha1 tests
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2IM652/gdbus/server-auth/sha1/tcp/.dirs/runtime
920s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
920s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
920s # End of sha1 tests
920s # End of server-auth tests
920s # End of gdbus tests
920s TAP version 13
920s ok 1 __main__.TestMkenums.test_available_in
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmp_k9dta52
920s # rspfile: False
920s # /tmp/tmp_k9dta52/tmpueyt4skm.h:
920s # typedef enum {
920s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
920s # } GDBusServerFlags;
920s #
920s # /tmp/tmp_k9dta52/tmpud80eyqd.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_k9dta52/tmpud80eyqd.template', '/tmp/tmp_k9dta52/tmpueyt4skm.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-production
920s # filename: /tmp/tmp_k9dta52/tmpueyt4skm.h
920s # basename: tmpueyt4skm.h
920s # enumeration-production
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-header
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-production
920s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
920s # valuenick: user
920s # valuenum: 4
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-tail
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
920s ok 2 __main__.TestMkenums.test_comma_in_enum_value
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmp2ucsn22w
920s # rspfile: False
920s # /tmp/tmp2ucsn22w/tmphkhcyqac.h:
920s # typedef enum {
920s # ENUM_VALUE_WITH_COMMA = ',',
920s # } TestCommaEnum;
920s #
920s # /tmp/tmp2ucsn22w/tmpls2tfnhf.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2ucsn22w/tmpls2tfnhf.template', '/tmp/tmp2ucsn22w/tmphkhcyqac.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-production
920s # filename: /tmp/tmp2ucsn22w/tmphkhcyqac.h
920s # basename: tmphkhcyqac.h
920s # enumeration-production
920s # EnumName: TestCommaEnum
920s # enum_name: test_comma_enum
920s # ENUMNAME: TEST_COMMA_ENUM
920s # ENUMSHORT: COMMA_ENUM
920s # ENUMPREFIX: TEST
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-header
920s # EnumName: TestCommaEnum
920s # enum_name: test_comma_enum
920s # ENUMNAME: TEST_COMMA_ENUM
920s # ENUMSHORT: COMMA_ENUM
920s # ENUMPREFIX: TEST
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-production
920s # VALUENAME: ENUM_VALUE_WITH_COMMA
920s # valuenick: comma
920s # valuenum: 44
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-tail
920s # EnumName: TestCommaEnum
920s # enum_name: test_comma_enum
920s # ENUMNAME: TEST_COMMA_ENUM
920s # ENUMSHORT: COMMA_ENUM
920s # ENUMPREFIX: TEST
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
920s ok 3 __main__.TestMkenums.test_deprecated_in
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmpzydewr6k
920s # rspfile: False
920s # /tmp/tmpzydewr6k/tmp64w15jfq.h:
920s # typedef enum {
920s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
920s # } GDBusServerFlags;
920s #
920s # /tmp/tmpzydewr6k/tmp9lbni1u7.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzydewr6k/tmp9lbni1u7.template', '/tmp/tmpzydewr6k/tmp64w15jfq.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-production
920s # filename: /tmp/tmpzydewr6k/tmp64w15jfq.h
920s # basename: tmp64w15jfq.h
920s # enumeration-production
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-header
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-production
920s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
920s # valuenick: user
920s # valuenum: 4
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-tail
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
920s ok 4 __main__.TestMkenums.test_deprecated_in_for
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmphqee7tk8
920s # rspfile: False
920s # /tmp/tmphqee7tk8/tmpwx54fxv9.h:
920s # typedef enum {
920s # 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)
920s # } GDBusServerFlags;
920s #
920s # /tmp/tmphqee7tk8/tmpnqy_5age.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphqee7tk8/tmpnqy_5age.template', '/tmp/tmphqee7tk8/tmpwx54fxv9.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-production
920s # filename: /tmp/tmphqee7tk8/tmpwx54fxv9.h
920s # basename: tmpwx54fxv9.h
920s # enumeration-production
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-header
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-production
920s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
920s # valuenick: user
920s # valuenum: 4
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # value-tail
920s # EnumName: GDBusServerFlags
920s # enum_name: g_dbus_server_flags
920s # ENUMNAME: G_DBUS_SERVER_FLAGS
920s # ENUMSHORT: DBUS_SERVER_FLAGS
920s # ENUMPREFIX: G
920s # enumsince:
920s # type: flags
920s # Type: Flags
920s # TYPE: FLAGS
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
920s ok 5 __main__.TestMkenums.test_empty_header
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmp8uzjz7yr
920s # rspfile: False
920s # /tmp/tmp8uzjz7yr/tmp4h10bh52.h:
920s # /tmp/tmp8uzjz7yr/tmp86a5vli6.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8uzjz7yr/tmp86a5vli6.template', '/tmp/tmp8uzjz7yr/tmp4h10bh52.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
920s ok 6 __main__.TestMkenums.test_empty_template
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmpmxpsfc2p
920s # rspfile: False
920s # /tmp/tmpmxpsfc2p/tmp8vkuoc55.template:
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmxpsfc2p/tmp8vkuoc55.template']
920s # Return code: 0
920s # Output:
920s # /* 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. */
920s #
920s #
920s # /* Generated data ends here */
920s # Error:
920s ok 7 __main__.TestMkenums.test_enum_name
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmptaav4p4l
920s # rspfile: False
920s # /tmp/tmptaav4p4l/tmpe132fykn.h:
920s # typedef enum _SomeEnumIdentifier {
920s # ENUM_VALUE
920s # } SomeEnumIdentifier;
920s #
920s # /tmp/tmptaav4p4l/tmp6ke1u5wn.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptaav4p4l/tmp6ke1u5wn.template', '/tmp/tmptaav4p4l/tmpe132fykn.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-production
920s # filename: /tmp/tmptaav4p4l/tmpe132fykn.h
920s # basename: tmpe132fykn.h
920s # enumeration-production
920s # EnumName: SomeEnumIdentifier
920s # enum_name: some_enum_identifier
920s # ENUMNAME: SOME_ENUM_IDENTIFIER
920s # ENUMSHORT: ENUM_IDENTIFIER
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-header
920s # EnumName: SomeEnumIdentifier
920s # enum_name: some_enum_identifier
920s # ENUMNAME: SOME_ENUM_IDENTIFIER
920s # ENUMSHORT: ENUM_IDENTIFIER
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-production
920s # VALUENAME: ENUM_VALUE
920s # valuenick: value
920s # valuenum: 0
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-tail
920s # EnumName: SomeEnumIdentifier
920s # enum_name: some_enum_identifier
920s # ENUMNAME: SOME_ENUM_IDENTIFIER
920s # ENUMSHORT: ENUM_IDENTIFIER
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
920s ok 8 __main__.TestMkenums.test_enum_private_public
920s # glib-mkenums: /usr/bin/glib-mkenums
920s # tmpdir: /tmp/tmp5tz0e4rc
920s # rspfile: False
920s # /tmp/tmp5tz0e4rc/tmpw3wai5y3.h:
920s # typedef enum {
920s # ENUM_VALUE_PUBLIC1,
920s # /*< private >*/
920s # ENUM_VALUE_PRIVATE,
920s # } SomeEnumA
920s #
920s # /tmp/tmp5tz0e4rc/tmpc7rosmbl.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5tz0e4rc/tmpc7rosmbl.template', '/tmp/tmp5tz0e4rc/tmpw3wai5y3.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-production
920s # filename: /tmp/tmp5tz0e4rc/tmpw3wai5y3.h
920s # basename: tmpw3wai5y3.h
920s # enumeration-production
920s # EnumName: SomeEnumA
920s # enum_name: some_enum_a
920s # ENUMNAME: SOME_ENUM_A
920s # ENUMSHORT: ENUM_A
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-header
920s # EnumName: SomeEnumA
920s # enum_name: some_enum_a
920s # ENUMNAME: SOME_ENUM_A
920s # ENUMSHORT: ENUM_A
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-production
920s # VALUENAME: ENUM_VALUE_PUBLIC1
920s # valuenick: public1
920s # valuenum: 0
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-tail
920s # EnumName: SomeEnumA
920s # enum_name: some_enum_a
920s # ENUMNAME: SOME_ENUM_A
920s # ENUMSHORT: ENUM_A
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
920s #
920s # /tmp/tmp5tz0e4rc/tmp80ads_dz.h:
920s # typedef enum {
920s # /*< private >*/
920s # ENUM_VALUE_PRIVATE,
920s # /*< public >*/
920s # ENUM_VALUE_PUBLIC2,
920s # } SomeEnumB;
920s #
920s # /tmp/tmp5tz0e4rc/tmpqd7jmqsq.template:
920s # /*** BEGIN file-header ***/
920s # file-header
920s # /*** END file-header ***/
920s #
920s # /*** BEGIN file-production ***/
920s # file-production
920s # filename: @filename@
920s # basename: @basename@
920s # /*** END file-production ***/
920s #
920s # /*** BEGIN enumeration-production ***/
920s # enumeration-production
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END enumeration-production ***/
920s #
920s # /*** BEGIN value-header ***/
920s # value-header
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-header ***/
920s #
920s # /*** BEGIN value-production ***/
920s # value-production
920s # VALUENAME: @VALUENAME@
920s # valuenick: @valuenick@
920s # valuenum: @valuenum@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-production ***/
920s #
920s # /*** BEGIN value-tail ***/
920s # value-tail
920s # EnumName: @EnumName@
920s # enum_name: @enum_name@
920s # ENUMNAME: @ENUMNAME@
920s # ENUMSHORT: @ENUMSHORT@
920s # ENUMPREFIX: @ENUMPREFIX@
920s # enumsince: @enumsince@
920s # type: @type@
920s # Type: @Type@
920s # TYPE: @TYPE@
920s # /*** END value-tail ***/
920s #
920s # /*** BEGIN comment ***/
920s # comment
920s # comment: @comment@
920s # /*** END comment ***/
920s #
920s # /*** BEGIN file-tail ***/
920s # file-tail
920s # /*** END file-tail ***/
920s #
920s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5tz0e4rc/tmpqd7jmqsq.template', '/tmp/tmp5tz0e4rc/tmp80ads_dz.h']
920s # Return code: 0
920s # Output:
920s # comment
920s # 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.
920s #
920s #
920s # file-header
920s # file-production
920s # filename: /tmp/tmp5tz0e4rc/tmp80ads_dz.h
920s # basename: tmp80ads_dz.h
920s # enumeration-production
920s # EnumName: SomeEnumB
920s # enum_name: some_enum_b
920s # ENUMNAME: SOME_ENUM_B
920s # ENUMSHORT: ENUM_B
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-header
920s # EnumName: SomeEnumB
920s # enum_name: some_enum_b
920s # ENUMNAME: SOME_ENUM_B
920s # ENUMSHORT: ENUM_B
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-production
920s # VALUENAME: ENUM_VALUE_PUBLIC2
920s # valuenick: public2
920s # valuenum: 1
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # value-tail
920s # EnumName: SomeEnumB
920s # enum_name: some_enum_b
920s # ENUMNAME: SOME_ENUM_B
920s # ENUMSHORT: ENUM_B
920s # ENUMPREFIX: SOME
920s # enumsince:
920s # type: enum
920s # Type: Enum
920s # TYPE: ENUM
920s # file-tail
920s #
920s # comment
920s # comment: Generated data ends here
920s # Error:
921s ok 9 __main__.TestMkenums.test_enum_symbolic_expression
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpr6l2r_p3
921s # rspfile: False
921s # /tmp/tmpr6l2r_p3/tmp404jzlzo.h:
921s # typedef enum {
921s # /*< private >*/
921s # ENUM_VALUE_PRIVATE = 5,
921s # /*< public >*/
921s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
921s # } TestSymbolicEnum;
921s #
921s # /tmp/tmpr6l2r_p3/tmp2oixeeyy.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpr6l2r_p3/tmp2oixeeyy.template', '/tmp/tmpr6l2r_p3/tmp404jzlzo.h']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpr6l2r_p3/tmp404jzlzo.h
921s # basename: tmp404jzlzo.h
921s # enumeration-production
921s # EnumName: TestSymbolicEnum
921s # enum_name: test_symbolic_enum
921s # ENUMNAME: TEST_SYMBOLIC_ENUM
921s # ENUMSHORT: SYMBOLIC_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: TestSymbolicEnum
921s # enum_name: test_symbolic_enum
921s # ENUMNAME: TEST_SYMBOLIC_ENUM
921s # ENUMSHORT: SYMBOLIC_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE_PUBLIC
921s # valuenick: public
921s # valuenum: 7
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: TestSymbolicEnum
921s # enum_name: test_symbolic_enum
921s # ENUMNAME: TEST_SYMBOLIC_ENUM
921s # ENUMSHORT: SYMBOLIC_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmp6ykf9pyn
921s # rspfile: False
921s # /tmp/tmp6ykf9pyn/tmp_efxv0g5.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-tail ***/
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6ykf9pyn/tmp_efxv0g5.template']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # filename: @filename@
921s # basename: @basename@
921s # file-tail
921s # filename: @filename@
921s # basename: @basename@
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s # WARNING: @filename@ used in file-header section.
921s # WARNING: @basename@ used in file-header section.
921s # WARNING: @filename@ used in file-tail section.
921s # WARNING: @basename@ used in file-tail section.
921s ok 11 __main__.TestMkenums.test_help
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpt34lwogx
921s # rspfile: False
921s # Running: ['/usr/bin/glib-mkenums', '--help']
921s # Return code: 0
921s # Output:
921s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
921s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
921s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
921s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
921s # [--comments COMMENT_TMPL] [--template TEMPLATE]
921s # [--output OUTPUT] [--version]
921s # [args ...]
921s #
921s # positional arguments:
921s # args One or more input files, or a single argument
921s # @rspfile_path pointing to a file that contains the
921s # actual arguments
921s #
921s # options:
921s # -h, --help show this help message and exit
921s # --identifier-prefix IDPREFIX
921s # Identifier prefix
921s # --symbol-prefix SYMPREFIX
921s # Symbol prefix
921s # --fhead FHEAD Output file header
921s # --ftail FTAIL Output file footer
921s # --fprod FPROD Put out TEXT every time a new input file is being
921s # processed.
921s # --eprod EPROD Per enum text, produced prior to value iterations
921s # --vhead VHEAD Value header, produced before iterating over enum
921s # values
921s # --vprod VPROD Value text, produced for each enum value.
921s # --vtail VTAIL Value tail, produced after iterating over enum values
921s # --comments COMMENT_TMPL
921s # Comment structure
921s # --template TEMPLATE Template file
921s # --output OUTPUT
921s # --version, -v Print version information
921s #
921s # Production text substitutions:
921s # @EnumName@ PrefixTheXEnum
921s # @enum_name@ prefix_the_xenum
921s # @ENUMNAME@ PREFIX_THE_XENUM
921s # @ENUMSHORT@ THE_XENUM
921s # @ENUMPREFIX@ PREFIX
921s # @enumsince@ the user-provided since value given
921s # @VALUENAME@ PREFIX_THE_XVALUE
921s # @valuenick@ the-xvalue
921s # @valuenum@ the integer value (limited support, Since: 2.26)
921s # @type@ either enum or flags
921s # @Type@ either Enum or Flags
921s # @TYPE@ either ENUM or FLAGS
921s # @filename@ name of current input file
921s # @basename@ base name of the current input file (Since: 2.22)
921s # Error:
921s ok 12 __main__.TestMkenums.test_no_args
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmp8pua_eon
921s # rspfile: False
921s # Running: ['/usr/bin/glib-mkenums']
921s # Return code: 0
921s # Output:
921s # /* 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. */
921s #
921s #
921s # /* Generated data ends here */
921s # Error:
921s ok 13 __main__.TestMkenums.test_no_headers
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpvpmi656a
921s # rspfile: False
921s # /tmp/tmpvpmi656a/tmpipxya_1d.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvpmi656a/tmpipxya_1d.template']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 14 __main__.TestMkenums.test_no_nick
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpj3o4rg7j
921s # rspfile: False
921s # /tmp/tmpj3o4rg7j/tmp8u6yqt71.h:
921s # typedef enum {
921s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
921s # } GeglSamplerType;
921s #
921s # /tmp/tmpj3o4rg7j/tmpuv2tmuze.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj3o4rg7j/tmpuv2tmuze.template', '/tmp/tmpj3o4rg7j/tmp8u6yqt71.h']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpj3o4rg7j/tmp8u6yqt71.h
921s # basename: tmp8u6yqt71.h
921s # enumeration-production
921s # EnumName: GeglSamplerType
921s # enum_name: gegl_sampler_type
921s # ENUMNAME: GEGL_SAMPLER_TYPE
921s # ENUMSHORT: SAMPLER_TYPE
921s # ENUMPREFIX: GEGL
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: GeglSamplerType
921s # enum_name: gegl_sampler_type
921s # ENUMNAME: GEGL_SAMPLER_TYPE
921s # ENUMSHORT: SAMPLER_TYPE
921s # ENUMPREFIX: GEGL
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: GEGL_SAMPLER_NEAREST
921s # valuenick: nearest
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: GeglSamplerType
921s # enum_name: gegl_sampler_type
921s # ENUMNAME: GEGL_SAMPLER_TYPE
921s # ENUMSHORT: SAMPLER_TYPE
921s # ENUMPREFIX: GEGL
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 15 __main__.TestMkenums.test_non_utf8_encoding
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpkslfg6oy
921s # rspfile: False
921s # /tmp/tmpkslfg6oy/tmpzu24es6c.h:
921s # /* Copyright © La Peña */
921s # typedef enum {
921s # ENUM_VALUE
921s # } SomeEnumIdentifier;
921s #
921s # /tmp/tmpkslfg6oy/tmp6bp425_e.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkslfg6oy/tmp6bp425_e.template', '/tmp/tmpkslfg6oy/tmpzu24es6c.h']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpkslfg6oy/tmpzu24es6c.h
921s # basename: tmpzu24es6c.h
921s # enumeration-production
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE
921s # valuenick: value
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
921s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
921s ok 16 __main__.TestMkenums.test_reproducible
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpet_t6lpn
921s # rspfile: False
921s # /tmp/tmpet_t6lpn/tmp7qpnc_ir.template: template
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpet_t6lpn/tmp7qpnc_ir.template', '/tmp/tmpet_t6lpn/tmpeyd3bsp_1.h', '/tmp/tmpet_t6lpn/tmpxtw_hxyz2.h']
921s # Return code: 0
921s # Output:
921s # /* 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. */
921s #
921s #
921s # /* Generated data ends here */
921s # Error:
921s #
921s # /tmp/tmpet_t6lpn/tmp6q2hsrb_.template: template
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpet_t6lpn/tmp6q2hsrb_.template', '/tmp/tmpet_t6lpn/tmpxtw_hxyz2.h', '/tmp/tmpet_t6lpn/tmpeyd3bsp_1.h']
921s # Return code: 0
921s # Output:
921s # /* 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. */
921s #
921s #
921s # /* Generated data ends here */
921s # Error:
921s ok 17 __main__.TestMkenums.test_since
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpx2jaxo_j
921s # rspfile: False
921s # /tmp/tmpx2jaxo_j/tmpz_6rhlsa.h:
921s # typedef enum { /*< since=1.0 >*/
921s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
921s # } QmiWmsMessageProtocol;
921s #
921s # /tmp/tmpx2jaxo_j/tmp39zmli35.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx2jaxo_j/tmp39zmli35.template', '/tmp/tmpx2jaxo_j/tmpz_6rhlsa.h']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpx2jaxo_j/tmpz_6rhlsa.h
921s # basename: tmpz_6rhlsa.h
921s # enumeration-production
921s # EnumName: QmiWmsMessageProtocol
921s # enum_name: qmi_wms_message_protocol
921s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
921s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
921s # ENUMPREFIX: QMI
921s # enumsince: 1.0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: QmiWmsMessageProtocol
921s # enum_name: qmi_wms_message_protocol
921s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
921s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
921s # ENUMPREFIX: QMI
921s # enumsince: 1.0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
921s # valuenick: cdma
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: QmiWmsMessageProtocol
921s # enum_name: qmi_wms_message_protocol
921s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
921s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
921s # ENUMPREFIX: QMI
921s # enumsince: 1.0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 18 __main__.TestMkenums.test_with_double_quotes
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpx40gbjib
921s # rspfile: False
921s # /tmp/tmpx40gbjib/tmpa7q6m5ln.h:
921s # typedef enum {
921s # FOO_VALUE /*< nick="eek, a comma" >*/
921s # } Foo;
921s #
921s # /tmp/tmpx40gbjib/tmp9ehv0fjs.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx40gbjib/tmp9ehv0fjs.template', '/tmp/tmpx40gbjib/tmpa7q6m5ln.h']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpx40gbjib/tmpa7q6m5ln.h
921s # basename: tmpa7q6m5ln.h
921s # enumeration-production
921s # EnumName: Foo
921s # enum_name: foo_
921s # ENUMNAME: FOO_
921s # ENUMSHORT:
921s # ENUMPREFIX: FOO
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: Foo
921s # enum_name: foo_
921s # ENUMNAME: FOO_
921s # ENUMSHORT:
921s # ENUMPREFIX: FOO
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: FOO_VALUE
921s # valuenick: eek, a comma
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: Foo
921s # enum_name: foo_
921s # ENUMNAME: FOO_
921s # ENUMSHORT:
921s # ENUMPREFIX: FOO
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 19 __main__.TestRspMkenums.test_available_in
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpn4vjrv27
921s # rspfile: True
921s # /tmp/tmpn4vjrv27/tmpv30sg6p5.h:
921s # typedef enum {
921s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
921s # } GDBusServerFlags;
921s #
921s # /tmp/tmpn4vjrv27/tmpy1djo701.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpn4vjrv27/tmpy1djo701.template /tmp/tmpn4vjrv27/tmpv30sg6p5.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn4vjrv27/tmpccbo6x8a']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpn4vjrv27/tmpv30sg6p5.h
921s # basename: tmpv30sg6p5.h
921s # enumeration-production
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-header
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-production
921s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
921s # valuenick: user
921s # valuenum: 4
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-tail
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmp_s37uwyg
921s # rspfile: True
921s # /tmp/tmp_s37uwyg/tmppoppm_8j.h:
921s # typedef enum {
921s # ENUM_VALUE_WITH_COMMA = ',',
921s # } TestCommaEnum;
921s #
921s # /tmp/tmp_s37uwyg/tmpnkn1121c.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmp_s37uwyg/tmpnkn1121c.template /tmp/tmp_s37uwyg/tmppoppm_8j.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_s37uwyg/tmpknsmvvhl']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmp_s37uwyg/tmppoppm_8j.h
921s # basename: tmppoppm_8j.h
921s # enumeration-production
921s # EnumName: TestCommaEnum
921s # enum_name: test_comma_enum
921s # ENUMNAME: TEST_COMMA_ENUM
921s # ENUMSHORT: COMMA_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: TestCommaEnum
921s # enum_name: test_comma_enum
921s # ENUMNAME: TEST_COMMA_ENUM
921s # ENUMSHORT: COMMA_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE_WITH_COMMA
921s # valuenick: comma
921s # valuenum: 44
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: TestCommaEnum
921s # enum_name: test_comma_enum
921s # ENUMNAME: TEST_COMMA_ENUM
921s # ENUMSHORT: COMMA_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 21 __main__.TestRspMkenums.test_deprecated_in
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpp8ki_ebi
921s # rspfile: True
921s # /tmp/tmpp8ki_ebi/tmp7ezq3wa3.h:
921s # typedef enum {
921s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
921s # } GDBusServerFlags;
921s #
921s # /tmp/tmpp8ki_ebi/tmp11z08rl7.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpp8ki_ebi/tmp11z08rl7.template /tmp/tmpp8ki_ebi/tmp7ezq3wa3.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpp8ki_ebi/tmprgibn6su']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpp8ki_ebi/tmp7ezq3wa3.h
921s # basename: tmp7ezq3wa3.h
921s # enumeration-production
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-header
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-production
921s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
921s # valuenick: user
921s # valuenum: 4
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-tail
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 22 __main__.TestRspMkenums.test_deprecated_in_for
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpmagazjq6
921s # rspfile: True
921s # /tmp/tmpmagazjq6/tmps3x0yco1.h:
921s # typedef enum {
921s # 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)
921s # } GDBusServerFlags;
921s #
921s # /tmp/tmpmagazjq6/tmpa56llm2e.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpmagazjq6/tmpa56llm2e.template /tmp/tmpmagazjq6/tmps3x0yco1.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmagazjq6/tmp1cs4i9rh']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpmagazjq6/tmps3x0yco1.h
921s # basename: tmps3x0yco1.h
921s # enumeration-production
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-header
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-production
921s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
921s # valuenick: user
921s # valuenum: 4
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # value-tail
921s # EnumName: GDBusServerFlags
921s # enum_name: g_dbus_server_flags
921s # ENUMNAME: G_DBUS_SERVER_FLAGS
921s # ENUMSHORT: DBUS_SERVER_FLAGS
921s # ENUMPREFIX: G
921s # enumsince:
921s # type: flags
921s # Type: Flags
921s # TYPE: FLAGS
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 23 __main__.TestRspMkenums.test_empty_header
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmp_zvz93_k
921s # rspfile: True
921s # /tmp/tmp_zvz93_k/tmp3_1f0br_.h:
921s # /tmp/tmp_zvz93_k/tmp34leyiv7.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmp_zvz93_k/tmp34leyiv7.template /tmp/tmp_zvz93_k/tmp3_1f0br_.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_zvz93_k/tmposbwui6w']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 24 __main__.TestRspMkenums.test_empty_template
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpyx6z7khf
921s # rspfile: True
921s # /tmp/tmpyx6z7khf/tmpheavyvf_.template:
921s # Response file contains: --template /tmp/tmpyx6z7khf/tmpheavyvf_.template
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyx6z7khf/tmpggrktv4t']
921s # Return code: 0
921s # Output:
921s # /* 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. */
921s #
921s #
921s # /* Generated data ends here */
921s # Error:
921s ok 25 __main__.TestRspMkenums.test_enum_name
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpb_5tm2bs
921s # rspfile: True
921s # /tmp/tmpb_5tm2bs/tmpfj3gbkur.h:
921s # typedef enum _SomeEnumIdentifier {
921s # ENUM_VALUE
921s # } SomeEnumIdentifier;
921s #
921s # /tmp/tmpb_5tm2bs/tmpq8m_e79g.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpb_5tm2bs/tmpq8m_e79g.template /tmp/tmpb_5tm2bs/tmpfj3gbkur.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpb_5tm2bs/tmpv7kykppn']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpb_5tm2bs/tmpfj3gbkur.h
921s # basename: tmpfj3gbkur.h
921s # enumeration-production
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE
921s # valuenick: value
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 26 __main__.TestRspMkenums.test_enum_private_public
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmp3lmzybfr
921s # rspfile: True
921s # /tmp/tmp3lmzybfr/tmpumzxktw7.h:
921s # typedef enum {
921s # ENUM_VALUE_PUBLIC1,
921s # /*< private >*/
921s # ENUM_VALUE_PRIVATE,
921s # } SomeEnumA
921s #
921s # /tmp/tmp3lmzybfr/tmp12bfor03.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmp3lmzybfr/tmp12bfor03.template /tmp/tmp3lmzybfr/tmpumzxktw7.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3lmzybfr/tmp64mqybzh']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmp3lmzybfr/tmpumzxktw7.h
921s # basename: tmpumzxktw7.h
921s # enumeration-production
921s # EnumName: SomeEnumA
921s # enum_name: some_enum_a
921s # ENUMNAME: SOME_ENUM_A
921s # ENUMSHORT: ENUM_A
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: SomeEnumA
921s # enum_name: some_enum_a
921s # ENUMNAME: SOME_ENUM_A
921s # ENUMSHORT: ENUM_A
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE_PUBLIC1
921s # valuenick: public1
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: SomeEnumA
921s # enum_name: some_enum_a
921s # ENUMNAME: SOME_ENUM_A
921s # ENUMSHORT: ENUM_A
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s #
921s # /tmp/tmp3lmzybfr/tmp3jcjopz4.h:
921s # typedef enum {
921s # /*< private >*/
921s # ENUM_VALUE_PRIVATE,
921s # /*< public >*/
921s # ENUM_VALUE_PUBLIC2,
921s # } SomeEnumB;
921s #
921s # /tmp/tmp3lmzybfr/tmp6i9af6xh.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmp3lmzybfr/tmp6i9af6xh.template /tmp/tmp3lmzybfr/tmp3jcjopz4.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3lmzybfr/tmp2_3jihfh']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmp3lmzybfr/tmp3jcjopz4.h
921s # basename: tmp3jcjopz4.h
921s # enumeration-production
921s # EnumName: SomeEnumB
921s # enum_name: some_enum_b
921s # ENUMNAME: SOME_ENUM_B
921s # ENUMSHORT: ENUM_B
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: SomeEnumB
921s # enum_name: some_enum_b
921s # ENUMNAME: SOME_ENUM_B
921s # ENUMSHORT: ENUM_B
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE_PUBLIC2
921s # valuenick: public2
921s # valuenum: 1
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: SomeEnumB
921s # enum_name: some_enum_b
921s # ENUMNAME: SOME_ENUM_B
921s # ENUMSHORT: ENUM_B
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpvoc2kntn
921s # rspfile: True
921s # /tmp/tmpvoc2kntn/tmpgcner60o.h:
921s # typedef enum {
921s # /*< private >*/
921s # ENUM_VALUE_PRIVATE = 5,
921s # /*< public >*/
921s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
921s # } TestSymbolicEnum;
921s #
921s # /tmp/tmpvoc2kntn/tmp19720t18.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpvoc2kntn/tmp19720t18.template /tmp/tmpvoc2kntn/tmpgcner60o.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvoc2kntn/tmpq5b_42qm']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpvoc2kntn/tmpgcner60o.h
921s # basename: tmpgcner60o.h
921s # enumeration-production
921s # EnumName: TestSymbolicEnum
921s # enum_name: test_symbolic_enum
921s # ENUMNAME: TEST_SYMBOLIC_ENUM
921s # ENUMSHORT: SYMBOLIC_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: TestSymbolicEnum
921s # enum_name: test_symbolic_enum
921s # ENUMNAME: TEST_SYMBOLIC_ENUM
921s # ENUMSHORT: SYMBOLIC_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE_PUBLIC
921s # valuenick: public
921s # valuenum: 7
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: TestSymbolicEnum
921s # enum_name: test_symbolic_enum
921s # ENUMNAME: TEST_SYMBOLIC_ENUM
921s # ENUMSHORT: SYMBOLIC_ENUM
921s # ENUMPREFIX: TEST
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmp7xh0fbwi
921s # rspfile: True
921s # /tmp/tmp7xh0fbwi/tmp0mzqlevq.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-tail ***/
921s # Response file contains: --template /tmp/tmp7xh0fbwi/tmp0mzqlevq.template
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7xh0fbwi/tmpi3516jwm']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # filename: @filename@
921s # basename: @basename@
921s # file-tail
921s # filename: @filename@
921s # basename: @basename@
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s # WARNING: @filename@ used in file-header section.
921s # WARNING: @basename@ used in file-header section.
921s # WARNING: @filename@ used in file-tail section.
921s # WARNING: @basename@ used in file-tail section.
921s ok 29 __main__.TestRspMkenums.test_help
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpn2q9k5or
921s # rspfile: True
921s # Response file contains: --help
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn2q9k5or/tmpu7xceeb8']
921s # Return code: 0
921s # Output:
921s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
921s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
921s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
921s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
921s # [--comments COMMENT_TMPL] [--template TEMPLATE]
921s # [--output OUTPUT] [--version]
921s # [args ...]
921s #
921s # positional arguments:
921s # args One or more input files, or a single argument
921s # @rspfile_path pointing to a file that contains the
921s # actual arguments
921s #
921s # options:
921s # -h, --help show this help message and exit
921s # --identifier-prefix IDPREFIX
921s # Identifier prefix
921s # --symbol-prefix SYMPREFIX
921s # Symbol prefix
921s # --fhead FHEAD Output file header
921s # --ftail FTAIL Output file footer
921s # --fprod FPROD Put out TEXT every time a new input file is being
921s # processed.
921s # --eprod EPROD Per enum text, produced prior to value iterations
921s # --vhead VHEAD Value header, produced before iterating over enum
921s # values
921s # --vprod VPROD Value text, produced for each enum value.
921s # --vtail VTAIL Value tail, produced after iterating over enum values
921s # --comments COMMENT_TMPL
921s # Comment structure
921s # --template TEMPLATE Template file
921s # --output OUTPUT
921s # --version, -v Print version information
921s #
921s # Production text substitutions:
921s # @EnumName@ PrefixTheXEnum
921s # @enum_name@ prefix_the_xenum
921s # @ENUMNAME@ PREFIX_THE_XENUM
921s # @ENUMSHORT@ THE_XENUM
921s # @ENUMPREFIX@ PREFIX
921s # @enumsince@ the user-provided since value given
921s # @VALUENAME@ PREFIX_THE_XVALUE
921s # @valuenick@ the-xvalue
921s # @valuenum@ the integer value (limited support, Since: 2.26)
921s # @type@ either enum or flags
921s # @Type@ either Enum or Flags
921s # @TYPE@ either ENUM or FLAGS
921s # @filename@ name of current input file
921s # @basename@ base name of the current input file (Since: 2.22)
921s # Error:
921s ok 30 __main__.TestRspMkenums.test_no_args
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpvd5nq5v3
921s # rspfile: True
921s # Response file contains:
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvd5nq5v3/tmpgftvrgst']
921s # Return code: 0
921s # Output:
921s # /* 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. */
921s #
921s #
921s # /* Generated data ends here */
921s # Error:
921s ok 31 __main__.TestRspMkenums.test_no_headers
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmparwavs0m
921s # rspfile: True
921s # /tmp/tmparwavs0m/tmpmr4cob8o.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmparwavs0m/tmpmr4cob8o.template
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmparwavs0m/tmp48c9wao1']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 32 __main__.TestRspMkenums.test_no_nick
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpeqc8g3kb
921s # rspfile: True
921s # /tmp/tmpeqc8g3kb/tmp87l3hgu0.h:
921s # typedef enum {
921s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
921s # } GeglSamplerType;
921s #
921s # /tmp/tmpeqc8g3kb/tmpc64v2ols.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpeqc8g3kb/tmpc64v2ols.template /tmp/tmpeqc8g3kb/tmp87l3hgu0.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpeqc8g3kb/tmp5ti9a638']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpeqc8g3kb/tmp87l3hgu0.h
921s # basename: tmp87l3hgu0.h
921s # enumeration-production
921s # EnumName: GeglSamplerType
921s # enum_name: gegl_sampler_type
921s # ENUMNAME: GEGL_SAMPLER_TYPE
921s # ENUMSHORT: SAMPLER_TYPE
921s # ENUMPREFIX: GEGL
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: GeglSamplerType
921s # enum_name: gegl_sampler_type
921s # ENUMNAME: GEGL_SAMPLER_TYPE
921s # ENUMSHORT: SAMPLER_TYPE
921s # ENUMPREFIX: GEGL
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: GEGL_SAMPLER_NEAREST
921s # valuenick: nearest
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: GeglSamplerType
921s # enum_name: gegl_sampler_type
921s # ENUMNAME: GEGL_SAMPLER_TYPE
921s # ENUMSHORT: SAMPLER_TYPE
921s # ENUMPREFIX: GEGL
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmp0_di8_gm
921s # rspfile: True
921s # /tmp/tmp0_di8_gm/tmpc1kc964u.h:
921s # /* Copyright © La Peña */
921s # typedef enum {
921s # ENUM_VALUE
921s # } SomeEnumIdentifier;
921s #
921s # /tmp/tmp0_di8_gm/tmprbpol6gb.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmp0_di8_gm/tmprbpol6gb.template /tmp/tmp0_di8_gm/tmpc1kc964u.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0_di8_gm/tmpg_tpxvj1']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmp0_di8_gm/tmpc1kc964u.h
921s # basename: tmpc1kc964u.h
921s # enumeration-production
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: ENUM_VALUE
921s # valuenick: value
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: SomeEnumIdentifier
921s # enum_name: some_enum_identifier
921s # ENUMNAME: SOME_ENUM_IDENTIFIER
921s # ENUMSHORT: ENUM_IDENTIFIER
921s # ENUMPREFIX: SOME
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
921s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
921s ok 34 __main__.TestRspMkenums.test_reproducible
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpglh9aq2t
921s # rspfile: True
921s # /tmp/tmpglh9aq2t/tmp_2v64q0_.template: template
921s # Response file contains: --template /tmp/tmpglh9aq2t/tmp_2v64q0_.template /tmp/tmpglh9aq2t/tmpvuw04n161.h /tmp/tmpglh9aq2t/tmpv19mmvai2.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpglh9aq2t/tmpk8hefpwr']
921s # Return code: 0
921s # Output:
921s # /* 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. */
921s #
921s #
921s # /* Generated data ends here */
921s # Error:
921s #
921s # /tmp/tmpglh9aq2t/tmp0dmluz_m.template: template
921s # Response file contains: --template /tmp/tmpglh9aq2t/tmp0dmluz_m.template /tmp/tmpglh9aq2t/tmpv19mmvai2.h /tmp/tmpglh9aq2t/tmpvuw04n161.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpglh9aq2t/tmp8kxwr4kk']
921s # Return code: 0
921s # Output:
921s # /* 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. */
921s #
921s #
921s # /* Generated data ends here */
921s # Error:
921s ok 35 __main__.TestRspMkenums.test_since
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpjyiza28k
921s # rspfile: True
921s # /tmp/tmpjyiza28k/tmpdbqhahcn.h:
921s # typedef enum { /*< since=1.0 >*/
921s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
921s # } QmiWmsMessageProtocol;
921s #
921s # /tmp/tmpjyiza28k/tmpamgsredk.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpjyiza28k/tmpamgsredk.template /tmp/tmpjyiza28k/tmpdbqhahcn.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjyiza28k/tmp2qj1slxl']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpjyiza28k/tmpdbqhahcn.h
921s # basename: tmpdbqhahcn.h
921s # enumeration-production
921s # EnumName: QmiWmsMessageProtocol
921s # enum_name: qmi_wms_message_protocol
921s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
921s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
921s # ENUMPREFIX: QMI
921s # enumsince: 1.0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: QmiWmsMessageProtocol
921s # enum_name: qmi_wms_message_protocol
921s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
921s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
921s # ENUMPREFIX: QMI
921s # enumsince: 1.0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
921s # valuenick: cdma
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: QmiWmsMessageProtocol
921s # enum_name: qmi_wms_message_protocol
921s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
921s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
921s # ENUMPREFIX: QMI
921s # enumsince: 1.0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s ok 36 __main__.TestRspMkenums.test_with_double_quotes
921s # glib-mkenums: /usr/bin/glib-mkenums
921s # tmpdir: /tmp/tmpty1xubmo
921s # rspfile: True
921s # /tmp/tmpty1xubmo/tmp42pv3_y4.h:
921s # typedef enum {
921s # FOO_VALUE /*< nick="eek, a comma" >*/
921s # } Foo;
921s #
921s # /tmp/tmpty1xubmo/tmpgyiyj9hd.template:
921s # /*** BEGIN file-header ***/
921s # file-header
921s # /*** END file-header ***/
921s #
921s # /*** BEGIN file-production ***/
921s # file-production
921s # filename: @filename@
921s # basename: @basename@
921s # /*** END file-production ***/
921s #
921s # /*** BEGIN enumeration-production ***/
921s # enumeration-production
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END enumeration-production ***/
921s #
921s # /*** BEGIN value-header ***/
921s # value-header
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-header ***/
921s #
921s # /*** BEGIN value-production ***/
921s # value-production
921s # VALUENAME: @VALUENAME@
921s # valuenick: @valuenick@
921s # valuenum: @valuenum@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-production ***/
921s #
921s # /*** BEGIN value-tail ***/
921s # value-tail
921s # EnumName: @EnumName@
921s # enum_name: @enum_name@
921s # ENUMNAME: @ENUMNAME@
921s # ENUMSHORT: @ENUMSHORT@
921s # ENUMPREFIX: @ENUMPREFIX@
921s # enumsince: @enumsince@
921s # type: @type@
921s # Type: @Type@
921s # TYPE: @TYPE@
921s # /*** END value-tail ***/
921s #
921s # /*** BEGIN comment ***/
921s # comment
921s # comment: @comment@
921s # /*** END comment ***/
921s #
921s # /*** BEGIN file-tail ***/
921s # file-tail
921s # /*** END file-tail ***/
921s #
921s # Response file contains: --template /tmp/tmpty1xubmo/tmpgyiyj9hd.template /tmp/tmpty1xubmo/tmp42pv3_y4.h
921s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpty1xubmo/tmpgk62fddc']
921s # Return code: 0
921s # Output:
921s # comment
921s # 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.
921s #
921s #
921s # file-header
921s # file-production
921s # filename: /tmp/tmpty1xubmo/tmp42pv3_y4.h
921s # basename: tmp42pv3_y4.h
921s # enumeration-production
921s # EnumName: Foo
921s # enum_name: foo_
921s # ENUMNAME: FOO_
921s # ENUMSHORT:
921s # ENUMPREFIX: FOO
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-header
921s # EnumName: Foo
921s # enum_name: foo_
921s # ENUMNAME: FOO_
921s # ENUMSHORT:
921s # ENUMPREFIX: FOO
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-production
921s # VALUENAME: FOO_VALUE
921s # valuenick: eek, a comma
921s # valuenum: 0
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # value-tail
921s # EnumName: Foo
921s # enum_name: foo_
921s # ENUMNAME: FOO_
921s # ENUMSHORT:
921s # ENUMPREFIX: FOO
921s # enumsince:
921s # type: enum
921s # Type: Enum
921s # TYPE: ENUM
921s # file-tail
921s #
921s # comment
921s # comment: Generated data ends here
921s # Error:
921s 1..36
921s ok - glib/mkenums.py.test
921s # Running test: glib/readwrite.test
921s TAP version 14
921s # random seed: R02S429ab1c7fd73ad79bc59d2a20cebbf8a
921s 1..3
921s # Start of readwrite tests
921s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
921s ok 1 /readwrite/test_g_file_open_readwrite
921s ok 2 /readwrite/test_g_file_create_readwrite
921s ok 3 /readwrite/test_g_file_replace_readwrite
921s # End of readwrite tests
921s ok - glib/readwrite.test
921s # Running test: glib/g-icon.test
921s TAP version 14
921s # random seed: R02Se96b5a6f869e7873be66a21574e7dfd8
921s 1..6
921s # Start of icons tests
921s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
921s ok 1 /icons/to-string
921s ok 2 /icons/serialize
921s ok 3 /icons/themed
921s ok 4 /icons/emblemed
921s ok 5 /icons/file
921s ok 6 /icons/bytes
921s # End of icons tests
921s ok - glib/g-icon.test
921s # Running test: glib/portal-support-env-var.test
921s TAP version 14
921s # random seed: R02Sf361c2706500ac45385ee8adb9900173
921s ok - glib/portal-support-env-var.test
921s 1..1
921s # Start of portal-support tests
921s ok 1 /portal-support/env-var
921s # End of portal-support tests
921s # Running test: glib/atomic-c-11.test
922s TAP version 14
922s # random seed: R02Sb426a59275e5e340ecfe6d8843fafd2e
922s 1..2
922s # Start of atomic tests
922s ok 1 /atomic/types
922s ok - glib/atomic-c-11.test
922s ok 2 /atomic/threaded
922s # End of atomic tests
922s # Running test: glib/network-monitor.test
922s TAP version 14
922s # random seed: R02Sd59e8f43bd601ca118dab44b8b3cc863
922s 1..4
922s # Start of network-monitor tests
922s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
922s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
922s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor?
922s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
922s ok 1 /network-monitor/default
922s ok 2 /network-monitor/remove_default
922s ok 3 /network-monitor/add_networks
922s ok 4 /network-monitor/remove_networks
922s # End of network-monitor tests
922s ok - glib/network-monitor.test
922s # Running test: glib/gdbus-bz627724.test
922s TAP version 14
922s # random seed: R02S6b54db9d32010a0d1866e0aeca242ac8
922s 1..1
922s # Start of gdbus tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_125U52/gdbus/bz627724/.dirs/runtime
922s # Executing: glib/gdbus-bz627724.test
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s ok 1 /gdbus/bz627724
922s # End of gdbus tests
922s ok - glib/gdbus-bz627724.test
922s # Running test: glib/thread-pool.test
922s TAP version 14
922s # random seed: R02S4457638c5ea5e045488292cc4d5f1df2
922s 1..5
922s # Start of thread_pool tests
922s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works.
922s ok 1 /thread_pool/shared
922s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works.
922s ok 2 /thread_pool/exclusive
922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
922s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works.
922s ok 3 /thread_pool/create_shared_after_exclusive
922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121
922s ok 4 /thread_pool/create_full
922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
922s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works.
922s ok - glib/thread-pool.test
922s ok 5 /thread_pool/create_exclusive_after_shared
922s # End of thread_pool tests
922s # Running test: glib/basic-signals.test
922s TAP version 14
922s # random seed: R02S503655241979b6342a64327d5766892e
922s 1..1
922s # Start of gobject tests
922s ok 1 /gobject/basic-signals
922s # End of gobject tests
922s ok - glib/basic-signals.test
922s # Running test: glib/portal-support-snap-classic.test
922s TAP version 14
922s # random seed: R02Saf3ae20785d4a3ad0f23ea9d544d2d99
922s 1..3
922s # Start of portal-support tests
922s # Start of snap-classic tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl/.dirs/runtime
922s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/no-snapctl: No such file or directory
922s ok 1 /portal-support/snap-classic/no-snapctl
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/runtime
922s # Created snap.yaml in /tmp/test_portal-support-snap-classic_EKRU52/meta/snap.yaml
922s # Created snapctl in /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none/.dirs/runtime/snapctl
922s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/none: No such file or directory
922s ok 2 /portal-support/snap-classic/none
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/runtime
922s # Created snap.yaml in /tmp/test_portal-support-snap-classic_EKRU52/meta/snap.yaml
922s # Created snapctl in /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all/.dirs/runtime/snapctl
922s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EKRU52/portal-support/snap-classic/all: No such file or directory
922s ok 3 /portal-support/snap-classic/all
922s # End of snap-classic tests
922s # End of portal-support tests
922s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EKRU52: No such file or directory
922s ok - glib/portal-support-snap-classic.test
922s # Running test: glib/search-utils.test
922s TAP version 14
922s # random seed: R02S4c6a532ff60d4b3509995a0dc1ec29d0
922s # GLib-DEBUG: Current user locale: C.UTF-8
922s 1..6
922s # Start of search tests
922s # GLib-DEBUG: Started
922s # GLib-DEBUG: 'he' - 'Hello World' should match: OK
922s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK
922s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK
922s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK
922s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK
922s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK
922s ok 1 /search/basic
922s # GLib-DEBUG: Started
922s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
922s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK
922s # GLib-DEBUG: 'ele' - 'élève' should match: OK
922s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK
922s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK
922s ok 2 /search/composed
922s # GLib-DEBUG: Started
922s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK
922s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
922s ok 3 /search/decomposed
922s # GLib-DEBUG: Started
922s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK
922s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK
922s ok 4 /search/turkish
922s # GLib-DEBUG: Started
922s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK
922s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK
922s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK
922s ok 5 /search/c_locale_unicode
922s # GLib-DEBUG: Started
922s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK
922s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK
922s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK
922s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK
922s ok 6 /search/multi_words
922s # End of search tests
922s ok - glib/search-utils.test
922s # Running test: glib/file.test
922s TAP version 14
922s # random seed: R02S5f84230011f577afb59b4a8d4f83667e
922s 1..55
922s # Start of file tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/basic/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/basic/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/basic/.dirs/system-config1:/tmp/test_file_L1ZU52/file/basic/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/basic/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/basic/.dirs/system-data1:/tmp/test_file_L1ZU52/file/basic/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/basic/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/basic/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/basic/.dirs/runtime
922s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
922s ok 1 /file/basic
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/build-filename/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/build-filename/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/build-filename/.dirs/system-config1:/tmp/test_file_L1ZU52/file/build-filename/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/build-filename/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/build-filename/.dirs/system-data1:/tmp/test_file_L1ZU52/file/build-filename/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/build-filename/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/build-filename/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/build-filename/.dirs/runtime
922s ok 2 /file/build-filename
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/system-config1:/tmp/test_file_L1ZU52/file/build-filenamev/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/system-data1:/tmp/test_file_L1ZU52/file/build-filenamev/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/build-filenamev/.dirs/runtime
922s ok 3 /file/build-filenamev
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/parent/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/parent/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/parent/.dirs/system-config1:/tmp/test_file_L1ZU52/file/parent/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/parent/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/parent/.dirs/system-data1:/tmp/test_file_L1ZU52/file/parent/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/parent/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/parent/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/parent/.dirs/runtime
922s ok 4 /file/parent
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/child/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/child/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/child/.dirs/system-config1:/tmp/test_file_L1ZU52/file/child/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/child/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/child/.dirs/system-data1:/tmp/test_file_L1ZU52/file/child/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/child/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/child/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/child/.dirs/runtime
922s ok 5 /file/child
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/empty-path/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/empty-path/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/empty-path/.dirs/system-config1:/tmp/test_file_L1ZU52/file/empty-path/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/empty-path/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/empty-path/.dirs/system-data1:/tmp/test_file_L1ZU52/file/empty-path/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/empty-path/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/empty-path/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/empty-path/.dirs/runtime
922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328
922s # /file/empty-path summary: Check that creating a file with an empty path results in errors
922s ok 6 /file/empty-path
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/type/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/type/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/type/.dirs/system-config1:/tmp/test_file_L1ZU52/file/type/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/type/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/type/.dirs/system-data1:/tmp/test_file_L1ZU52/file/type/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/type/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/type/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/type/.dirs/runtime
922s ok 7 /file/type
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/parse-name/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/parse-name/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/parse-name/.dirs/system-config1:/tmp/test_file_L1ZU52/file/parse-name/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/parse-name/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/parse-name/.dirs/system-data1:/tmp/test_file_L1ZU52/file/parse-name/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/parse-name/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/parse-name/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/parse-name/.dirs/runtime
922s ok 8 /file/parse-name
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/replace-load/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/replace-load/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/replace-load/.dirs/system-config1:/tmp/test_file_L1ZU52/file/replace-load/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/replace-load/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/replace-load/.dirs/system-data1:/tmp/test_file_L1ZU52/file/replace-load/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/replace-load/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/replace-load/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/replace-load/.dirs/runtime
922s ok 9 /file/replace-load
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/system-config1:/tmp/test_file_L1ZU52/file/replace-cancel/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/system-data1:/tmp/test_file_L1ZU52/file/replace-cancel/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/replace-cancel/.dirs/runtime
922s # Bug Reference: https://bugzilla.gnome.org/629301
922s ok 10 /file/replace-cancel
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/system-config1:/tmp/test_file_L1ZU52/file/replace-symlink/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/system-data1:/tmp/test_file_L1ZU52/file/replace-symlink/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/replace-symlink/.dirs/runtime
922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325
922s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks
922s # Using temporary directory /tmp/test_file_L1ZU52/g_file_replace_symlink_N8VV52
922s ok 11 /file/replace-symlink
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-new-tmp/.dirs/runtime
922s ok 12 /file/async-new-tmp
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-new-tmp-dir/.dirs/runtime
922s ok 13 /file/async-new-tmp-dir
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-delete/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-delete/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-delete/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-delete/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-delete/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-delete/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-delete/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-delete/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-delete/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-delete/.dirs/runtime
922s ok 14 /file/async-delete
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-make-symlink/.dirs/runtime
922s ok 15 /file/async-make-symlink
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/copy-preserve-mode/.dirs/runtime
922s # Current umask: 2
922s # Vector 0
922s # Vector 1
922s # Vector 2
922s # Vector 3
922s # Vector 4
922s # Vector 5
922s # Vector 6
922s # Vector 7
922s # Vector 8
922s # Vector 9
922s # Vector 10
922s ok 16 /file/copy-preserve-mode
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/copy-async-with-closures/.dirs/runtime
922s ok 17 /file/copy-async-with-closures
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/measure/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/measure/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/measure/.dirs/system-config1:/tmp/test_file_L1ZU52/file/measure/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/measure/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/measure/.dirs/system-data1:/tmp/test_file_L1ZU52/file/measure/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/measure/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/measure/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/measure/.dirs/runtime
922s ok 18 /file/measure
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/measure-async/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/measure-async/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/measure-async/.dirs/system-config1:/tmp/test_file_L1ZU52/file/measure-async/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/measure-async/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/measure-async/.dirs/system-data1:/tmp/test_file_L1ZU52/file/measure-async/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/measure-async/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/measure-async/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/measure-async/.dirs/runtime
922s ok 19 /file/measure-async
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/system-config1:/tmp/test_file_L1ZU52/file/load-bytes/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/system-data1:/tmp/test_file_L1ZU52/file/load-bytes/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/load-bytes/.dirs/runtime
922s ok 20 /file/load-bytes
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/load-bytes-async/.dirs/runtime
922s ok 21 /file/load-bytes-async
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/load-bytes-4gb/.dirs/runtime
922s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/load-contents-4gb/.dirs/runtime
922s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/load-contents-4gb-async/.dirs/runtime
922s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/.dirs/runtime
922s ok 25 /file/writev
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/build-attribute-list-for-copy/.dirs/runtime
922s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::*
922s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::*
922s # 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::*
922s # 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::*
922s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::*
922s # Attributes for copy: standard::size,xattr::*
922s # Attributes for copy: standard::size,unix::mode,xattr::*
922s ok 26 /file/build-attribute-list-for-copy
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/move_async/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/move_async/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/move_async/.dirs/system-config1:/tmp/test_file_L1ZU52/file/move_async/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/move_async/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/move_async/.dirs/system-data1:/tmp/test_file_L1ZU52/file/move_async/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/move_async/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/move_async/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/move_async/.dirs/runtime
922s ok 27 /file/move_async
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/move-async-with-closures/.dirs/runtime
922s ok 28 /file/move-async-with-closures
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/query-zero-length-content-type/.dirs/runtime
922s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795
922s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize
922s ok 29 /file/query-zero-length-content-type
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/runtime
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/data/applications
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/config
922s ok 30 /file/query-default-handler-file
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/runtime
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/data/applications
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/config
922s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_L1ZU52/file/query-default-handler-file/.dirs/config to /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/config
922s ok 31 /file/query-default-handler-file-async
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/runtime
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/data/applications
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/config
922s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_L1ZU52/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/config
922s ok 32 /file/query-default-handler-uri
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/runtime
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/data/applications
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/config
922s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_L1ZU52/file/query-default-handler-uri/.dirs/config to /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/config
922s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_L1ZU52/file/query-default-handler-uri-async/.dirs/config
922s ok 33 /file/query-default-handler-uri-async
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/enumerator-cancellation/.dirs/runtime
922s ok 34 /file/enumerator-cancellation
922s # Start of async-create-delete tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-create-delete/0/.dirs/runtime
922s ok 35 /file/async-create-delete/0
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-create-delete/1/.dirs/runtime
922s ok 36 /file/async-create-delete/1
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-create-delete/10/.dirs/runtime
922s ok 37 /file/async-create-delete/10
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-create-delete/25/.dirs/runtime
922s ok 38 /file/async-create-delete/25
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/async-create-delete/4096/.dirs/runtime
922s ok 39 /file/async-create-delete/4096
922s # End of async-create-delete tests
922s # Start of replace-symlink tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/replace-symlink/using-etag/.dirs/runtime
922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417
922s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink
922s # Using temporary directory /tmp/test_file_L1ZU52/g_file_replace_symlink_using_etag_Y29W52
924s ok 40 /file/replace-symlink/using-etag
924s # slow test /file/replace-symlink/using-etag executed in 2.00 secs
924s # End of replace-symlink tests
924s # Start of replace tests
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/system-config1:/tmp/test_file_L1ZU52/file/replace/write-only/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/system-data1:/tmp/test_file_L1ZU52/file/replace/write-only/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/replace/write-only/.dirs/runtime
924s # /file/replace/write-only summary: Test various situations for g_file_replace()
924s # Current umask: 2
924s # Test 0, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_VZIX52
924s # Test 1, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_IXIX52
924s # Test 2, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_E0JX52
924s # Test 3, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_J0GX52
924s # Test 4, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_EBHX52
924s # Test 5, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_T7GX52
924s # Test 6, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_W3FX52
924s # Test 7, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_DTGX52
924s # Test 8, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_78FX52
924s # Test 9, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_D8FX52
924s # Test 10, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_D4DX52
924s # Test 11, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_Y1ZW52
924s # Test 12, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_FYZW52
924s # Test 13, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_28ZW52
924s # Test 14, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_NR0W52
924s # Test 15, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_NOYW52
924s # Test 16, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_VGZW52
924s # Test 17, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_S0WW52
924s # Test 18, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_C8WW52
924s # Test 19, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_Z3UW52
924s # Test 20, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_GC6W52
924s # Test 21, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_UC7W52
924s # Test 22, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_YW6W52
924s # Test 23, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_3T4W52
924s # Test 24, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_9J5W52
924s # Test 25, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_WF3W52
924s # Test 26, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_GC3W52
924s # Test 27, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_OU2W52
924s # Test 28, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_DM3W52
924s # Test 29, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_HF1W52
924s # Test 30, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_WJ2W52
924s # Test 31, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_GF2W52
924s # Test 32, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_091X52
924s # Test 33, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_VW2X52
924s # Test 34, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_TF2X52
924s # Test 35, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_4B2X52
924s # Test 36, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_95ZX52
924s # Test 37, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_NC1X52
924s # Test 38, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_FKYX52
924s # Test 39, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_1AZX52
924s # Test 40, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_71WX52
924s # Test 41, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_U97X52
924s # Test 42, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_598X52
924s # Test 43, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_SD6X52
924s # Test 44, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_H74X52
924s # Test 45, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_9G5X52
924s # Test 46, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_NU5X52
924s # Test 47, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_2P5X52
924s # Test 48, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_1Q3X52
924s # We do not have CAP_DAC_OVERRIDE or equivalent
924s ok 41 /file/replace/write-only
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/system-config1:/tmp/test_file_L1ZU52/file/replace/read-write/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/system-data1:/tmp/test_file_L1ZU52/file/replace/read-write/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/replace/read-write/.dirs/runtime
924s # /file/replace/read-write summary: Test various situations for g_file_replace()
924s # Current umask: 2
924s # Test 0, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_1I3X52
924s # Test 1, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_RE3X52
924s # Test 2, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_9Y2452
924s # Test 3, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_BF2452
924s # Test 4, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_0Q2452
924s # Test 5, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_QN2452
924s # Test 6, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_390452
924s # Test 7, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_MB2452
924s # Test 8, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_HS1452
924s # Test 9, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_XR1452
924s # Test 10, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_ENZ452
924s # Test 11, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_G9Z452
924s # Test 12, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_77X452
924s # Test 13, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_T4X452
924s # Test 14, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_GLY452
924s # Test 15, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_E38452
924s # Test 16, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_0M7452
924s # Test 17, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_7E7452
924s # Test 18, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_S65452
924s # Test 19, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_UV6452
924s # Test 20, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_DR4452
924s # Test 21, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_EG5452
924s # Test 22, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_Z4Q452
924s # Test 23, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_W2Q452
924s # Test 24, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_SYO452
924s # Test 25, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_R7O452
924s # Test 26, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_F4O452
924s # Test 27, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_4EP452
924s # Test 28, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_9FN452
924s # Test 29, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_B7N452
924s # Test 30, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_O4N452
924s # Test 31, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_YLN452
924s # Test 32, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_P7K452
924s # Test 33, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_EWL452
924s # Test 34, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_G7L452
924s # Test 35, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_L3L452
924s # Test 36, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_IGX452
924s # Test 37, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_P9U452
924s # Test 38, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_TQV452
924s # Test 39, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_29S452
924s # Test 40, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_1IU452
924s # Test 41, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_AWR452
924s # Test 42, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_BNS452
924s # Test 43, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_RHS552
924s # Test 44, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_PQS552
924s # Test 45, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_DPS552
924s # Test 46, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_T9P552
924s # Test 47, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_XKQ552
924s # Test 48, using temporary directory /tmp/test_file_L1ZU52/g_file_replace_VAR552
924s # We do not have CAP_DAC_OVERRIDE or equivalent
924s ok 42 /file/replace/read-write
924s # End of replace tests
924s # Start of copy tests
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/system-config1:/tmp/test_file_L1ZU52/file/copy/progress/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/system-data1:/tmp/test_file_L1ZU52/file/copy/progress/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/copy/progress/.dirs/runtime
924s ok 43 /file/copy/progress
924s # End of copy tests
924s # Start of writev tests
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/no-bytes-written/.dirs/runtime
924s ok 44 /file/writev/no-bytes-written
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/no-vectors/.dirs/runtime
924s ok 45 /file/writev/no-vectors
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/empty-vectors/.dirs/runtime
924s ok 46 /file/writev/empty-vectors
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/too-big-vectors/.dirs/runtime
924s ok 47 /file/writev/too-big-vectors
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/async/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/async/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/async/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/async/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/async/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/async/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/async/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/async/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/async/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/async/.dirs/runtime
924s ok 48 /file/writev/async
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/async_all/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/async_all/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/async_all/.dirs/runtime
924s ok 49 /file/writev/async_all
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/async_all-empty-vectors/.dirs/runtime
924s ok 50 /file/writev/async_all-empty-vectors
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/async_all-no-vectors/.dirs/runtime
924s ok 51 /file/writev/async_all-no-vectors
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/async_all-to-big-vectors/.dirs/runtime
924s ok 52 /file/writev/async_all-to-big-vectors
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/writev/async_all-cancellation/.dirs/runtime
924s ok 53 /file/writev/async_all-cancellation
924s # End of writev tests
924s ok - glib/file.test
924s # Running test: glib/gsubprocess.test
924s # Start of from-uri tests
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/from-uri/ignores-query-string/.dirs/runtime
924s ok 54 /file/from-uri/ignores-query-string
924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/home
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/cache
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/system-config2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/config
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/system-data2
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/data
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/state
924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_L1ZU52/file/from-uri/ignores-fragment/.dirs/runtime
924s ok 55 /file/from-uri/ignores-fragment
924s # End of from-uri tests
924s # End of file tests
924s TAP version 14
924s # random seed: R02S517ee9a04d3e411db5f5ae129bcdf0a3
924s 1..84
924s # Start of gsubprocess tests
924s ok 1 /gsubprocess/noop
924s ok 2 /gsubprocess/noop-all-to-null
924s ok 3 /gsubprocess/noop-no-wait
924s ok 4 /gsubprocess/noop-stdin-inherit
924s ok 5 /gsubprocess/search-path
924s ok 6 /gsubprocess/search-path-from-envp
927s # Executing: glib/gsubprocess.test
928s ok 7 /gsubprocess/signal
928s # slow test /gsubprocess/signal executed in 3.55 secs
928s ok 8 /gsubprocess/exit1
928s ok 9 /gsubprocess/echo1
928s ok 10 /gsubprocess/echo-merged
928s ok 11 /gsubprocess/cat-utf8
929s ok 12 /gsubprocess/cat-eof
929s # slow test /gsubprocess/cat-eof executed in 1.00 secs
932s # Executing: glib/gsubprocess.test
932s ok 13 /gsubprocess/multi1
932s # slow test /gsubprocess/multi1 executed in 3.01 secs
932s ok 14 /gsubprocess/communicate
935s ok 15 /gsubprocess/terminate
935s # slow test /gsubprocess/terminate executed in 2.99 secs
935s ok 16 /gsubprocess/fail-initialization
935s ok 17 /gsubprocess/env
935s ok 18 /gsubprocess/cwd
935s ok 19 /gsubprocess/launcher-close
935s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
935s ok 20 /gsubprocess/stdout-file
935s ok 21 /gsubprocess/stdout-fd
935s ok 22 /gsubprocess/child-setup
935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
935s ok 23 /gsubprocess/launcher-environment
935s # Start of exit1 tests
935s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
935s ok 24 /gsubprocess/exit1/cancel
935s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
935s ok 25 /gsubprocess/exit1/cancel_in_cb
935s # End of exit1 tests
935s # Start of communicate tests
935s ok 26 /gsubprocess/communicate/cancelled
935s ok 27 /gsubprocess/communicate/async
935s ok 28 /gsubprocess/communicate/utf8
935s # hello world
935s ok 29 /gsubprocess/communicate/no-pipes
935s ok 30 /gsubprocess/communicate/separate-stderr
935s ok 31 /gsubprocess/communicate/stdout-only
935s # hello world
935s ok 32 /gsubprocess/communicate/stderr-only
935s ok 33 /gsubprocess/communicate/stdout-silence
935s ok 34 /gsubprocess/communicate/nothing
935s # Start of async tests
935s ok 35 /gsubprocess/communicate/async/cancelled
935s # hello world
935s ok 36 /gsubprocess/communicate/async/no-pipes
935s ok 37 /gsubprocess/communicate/async/separate-stderr
935s ok 38 /gsubprocess/communicate/async/stdout-only
935s # hello world
935s ok 39 /gsubprocess/communicate/async/stderr-only
935s ok 40 /gsubprocess/communicate/async/stdout-silence
935s # Start of cancelled tests
935s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes
935s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr
935s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only
935s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only
935s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence
935s # End of cancelled tests
935s # End of async tests
935s # Start of utf8 tests
935s ok 46 /gsubprocess/communicate/utf8/cancelled
935s ok 47 /gsubprocess/communicate/utf8/async
935s # hello world
935s ok 48 /gsubprocess/communicate/utf8/no-pipes
935s ok 49 /gsubprocess/communicate/utf8/separate-stderr
935s ok 50 /gsubprocess/communicate/utf8/stdout-only
935s # hello world
935s ok 51 /gsubprocess/communicate/utf8/stderr-only
935s ok 52 /gsubprocess/communicate/utf8/stdout-silence
935s ok 53 /gsubprocess/communicate/utf8/invalid
935s # Start of async tests
935s ok 54 /gsubprocess/communicate/utf8/async/cancelled
935s # hello world
935s ok 55 /gsubprocess/communicate/utf8/async/no-pipes
935s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr
935s ok 57 /gsubprocess/communicate/utf8/async/stdout-only
935s # hello world
935s ok 58 /gsubprocess/communicate/utf8/async/stderr-only
935s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence
935s ok 60 /gsubprocess/communicate/utf8/async/invalid
935s # Start of cancelled tests
935s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes
935s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr
935s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only
935s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only
935s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence
935s # End of cancelled tests
935s # End of async tests
935s # Start of cancelled tests
935s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes
935s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr
935s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only
935s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only
935s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence
935s # End of cancelled tests
935s # End of utf8 tests
935s # Start of cancelled tests
935s ok 71 /gsubprocess/communicate/cancelled/no-pipes
935s ok 72 /gsubprocess/communicate/cancelled/separate-stderr
935s ok 73 /gsubprocess/communicate/cancelled/stdout-only
935s ok 74 /gsubprocess/communicate/cancelled/stderr-only
935s ok 75 /gsubprocess/communicate/cancelled/stdout-silence
935s # End of cancelled tests
935s # End of communicate tests
935s # Start of env tests
935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
935s ok 76 /gsubprocess/env/inherit
935s # End of env tests
935s # Start of pass-fd tests
935s ok 77 /gsubprocess/pass-fd/basic
935s ok 78 /gsubprocess/pass-fd/empty-child-setup
935s ok 79 /gsubprocess/pass-fd/inherit-fds
935s # End of pass-fd tests
935s # Start of fd-conflation tests
935s ok 80 /gsubprocess/fd-conflation/basic
935s ok 81 /gsubprocess/fd-conflation/empty-child-setup
935s ok 82 /gsubprocess/fd-conflation/inherit-fds
935s ok 83 /gsubprocess/fd-conflation/child-err-report-fd
935s # End of fd-conflation tests
935s # Start of exit-status tests
935s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes
935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433
935s ok 84 /gsubprocess/exit-status/trapped
935s # End of exit-status tests
935s # End of gsubprocess tests
935s ok - glib/gsubprocess.test
935s # Running test: glib/io-stream.test
935s TAP version 14
935s # random seed: R02S064956608ffa64f9f133aff5dad399ff
935s 1..3
935s # Start of io-stream tests
935s ok 1 /io-stream/copy-chunks
935s # Start of close tests
935s # Start of async tests
935s ok 2 /io-stream/close/async/memory
935s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
935s ok - glib/io-stream.test
935s ok 3 /io-stream/close/async/file
935s # End of async tests
935s # End of close tests
935s # End of io-stream tests
935s # Running test: glib/defaultiface.test
935s TAP version 14
935s # random seed: R02S575bb4f2e06ab860302be98ced3e565b
935s 1..2
935s # Start of gobject tests
935s ok 1 /gobject/static-iface
935s ok 2 /gobject/dynamic-iface
935s # End of gobject tests
935s ok - glib/defaultiface.test
935s # Running test: glib/messages-low-memory.py.test
935s TAP version 13
935s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure
935s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory
935s # tmpdir: /tmp/tmpe6_siayn
935s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory']
935s # Return code: -6
935s # Output:
935s #
935s # Error:
935s # GLib-Message: 18:54:23.729: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting
935s # GLib-Message: 18:54:23.729: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753
935s # ../../../glib/gprintf.c:350: failed to allocate memory
935s 1..1
935s ok - glib/messages-low-memory.py.test
935s # Running test: glib/power-profile-monitor-dbus.test
935s TAP version 13
935s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled
935s 1..1
935s ok - glib/power-profile-monitor-dbus.test
935s # Running test: glib/gdbus-exit-on-close.test
935s TAP version 14
935s # random seed: R02S0dd6e9e830a765f5b51a519bb8666081
935s 1..4
935s # Start of gdbus tests
935s # Start of exit-on-close tests
935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/home
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/cache
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/system-config2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/config
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/system-data2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/data
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/state
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/default/.dirs/runtime
935s ok 1 /gdbus/exit-on-close/default
935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/home
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/cache
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/system-config2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/config
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/system-data2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/data
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/state
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/true/.dirs/runtime
935s ok 2 /gdbus/exit-on-close/true
935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/home
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/cache
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/system-config2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/config
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/system-data2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/data
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/state
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/false/.dirs/runtime
935s ok 3 /gdbus/exit-on-close/false
935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/home
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/cache
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/system-config2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/config
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/system-data2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/data
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/state
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WV3652/gdbus/exit-on-close/we-close/.dirs/runtime
935s ok 4 /gdbus/exit-on-close/we-close
935s # Start of default tests
935s # End of default tests
935s # Start of true tests
935s # End of true tests
935s # Start of false tests
935s # End of false tests
935s # Start of we-close tests
935s # End of we-close tests
935s # End of exit-on-close tests
935s # End of gdbus tests
935s ok - glib/gdbus-exit-on-close.test
935s # Running test: glib/trash.test
935s TAP version 14
935s # random seed: R02S47b5b14900957ba44656d0a95e540dcf
935s 1..3
935s # Start of trash tests
935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251
935s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
935s # File: /tmp/test-trashEQM752 (parent st_dev: 64769)
935s # Home: /home/ubuntu (st_dev: 64769)
935s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test
935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522
935s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist
935s ok 3 /trash/long-filename
935s # End of trash tests
935s ok - glib/trash.test
935s # Running test: glib/io-channel.test
935s TAP version 14
935s # random seed: R02Sb4ccf3d69efa380877aea65aa5625849
935s 1..2
935s # Start of io-channel tests
935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/home
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/cache
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_83K752/io-channel/read-write/.dirs/system-config2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/config
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_83K752/io-channel/read-write/.dirs/system-data2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/data
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/state
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_83K752/io-channel/read-write/.dirs/runtime
935s # Line one
935s #
935s # Line two
935s #
935s # Line three
935s #
935s # /* Hello */
935s #
935s # \x1234\x567890\x6666
935s #
935s # read 62 bytes, wrote 62 bytes
935s ok 1 /io-channel/read-write
935s # Start of read-line tests
935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/home
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/cache
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/system-config2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/config
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/system-data2
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/data
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/state
935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_83K752/io-channel/read-line/embedded-nuls/.dirs/runtime
935s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators.
935s ok 2 /io-channel/read-line/embedded-nuls
935s # End of read-line tests
935s # End of io-channel tests
935s ok - glib/io-channel.test
935s # Running test: glib/slice.test
935s TAP version 14
935s # random seed: R02S26ec7ef1698eceef62cf479c88fa346c
935s 1..3
935s # Start of slice tests
935s ok 1 /slice/copy
935s ok 2 /slice/chain
936s ok 3 /slice/allocate
936s # End of slice tests
936s ok - glib/slice.test
936s # Running test: glib/spawn-test.test
936s TAP version 14
936s # random seed: R02Sbbb830de16ea76bc9ba55f2aab9cc85b
936s 1..2
936s # Start of spawn tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_MTJT52/spawn/basics/.dirs/runtime
936s ok 1 /spawn/basics
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_MTJT52/spawn/stdio-overwrite/.dirs/runtime
936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16
936s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open
936s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed
936s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open
936s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed
936s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open
936s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed
936s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open
936s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed
936s # Fetching GSpawn result output with stdin open, stdout open, stderr open
936s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed
936s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open
936s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed
936s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open
936s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed
936s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open
936s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed
936s # Fetching GSpawn result error output with stdin open, stdout open, stderr open
936s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed
936s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open
936s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed
936s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open
936s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed
936s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open
936s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed
936s # Fetching GSpawn result with stdin open, stdout open, stderr open
936s # Fetching GSpawn result with stdin open, stdout open, stderr already closed
936s # Fetching GSpawn result with stdin open, stdout already closed, stderr open
936s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed
936s # Fetching GSpawn result with stdin already closed, stdout open, stderr open
936s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed
936s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open
936s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed
936s ok 2 /spawn/stdio-overwrite
936s # End of spawn tests
936s ok - glib/spawn-test.test
936s # Running test: glib/portal-support-flatpak-none.test
936s TAP version 14
936s # random seed: R02Se22072da732d835acc9c98a80c4f3810
936s 1..1
936s # Start of portal-support tests
936s # Start of flatpak tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/runtime
936s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_9O6T52/portal-support/flatpak/none/.dirs/runtime/.flatpak-info
936s ok 1 /portal-support/flatpak/none
936s # End of flatpak tests
936s # End of portal-support tests
936s ok - glib/portal-support-flatpak-none.test
936s # Running test: glib/param.test
936s TAP version 14
936s # random seed: R02S9da49a97b644f15a3a9ce33f9c951f35
936s 1..32
936s # Start of param tests
936s ok 1 /param/value
936s ok 2 /param/strings
936s ok 3 /param/qdata
936s ok 4 /param/validate
936s ok 5 /param/convert
936s ok 6 /param/implement # SKIP Skipping slow /param/implement test
936s ok 7 /param/default
936s ok 8 /param/is-valid-name
936s # Start of invalid-name tests
936s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names
936s ok 9 /param/invalid-name/colon
936s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names
936s ok 10 /param/invalid-name/first-char
936s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names
936s ok 11 /param/invalid-name/empty
936s # End of invalid-name tests
936s # Start of implement tests
936s # Start of subprocess tests
936s # End of subprocess tests
936s # End of implement tests
936s # End of param tests
936s # Start of value tests
936s ok 12 /value/transform
936s # End of value tests
936s # Start of paramspec tests
936s ok 13 /paramspec/char
936s ok 14 /paramspec/uchar
936s ok 15 /paramspec/int
936s ok 16 /paramspec/uint
936s ok 17 /paramspec/long
936s ok 18 /paramspec/ulong
936s ok 19 /paramspec/int64
936s ok 20 /paramspec/uint64
936s ok 21 /paramspec/float
936s ok 22 /paramspec/double
936s ok 23 /paramspec/unichar
936s ok 24 /paramspec/param
936s ok 25 /paramspec/null-param
936s ok 26 /paramspec/string
936s ok 27 /paramspec/override
936s ok 28 /paramspec/gtype
936s ok 29 /paramspec/variant
936s ok 30 /paramspec/custom
936s ok 31 /paramspec/pool
936s # Start of variant tests
936s ok 32 /paramspec/variant/cmp
936s # End of variant tests
936s # End of paramspec tests
936s ok - glib/param.test
936s # Running test: glib/thumbnail-verification.test
936s TAP version 14
936s # random seed: R02S207f6e9ce343406f0adb1f21a09599ed
936s 1..1
936s # Start of png-thumbs tests
936s ok 1 /png-thumbs/validity
936s # End of png-thumbs tests
936s ok - glib/thumbnail-verification.test
936s # Running test: glib/gdbus-non-socket.test
936s TAP version 14
936s # random seed: R02S785978c8daeea7a54e830c2d74320df1
936s 1..1
936s # Start of gdbus tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_IOZ052/gdbus/non-socket/.dirs/runtime
936s ok 1 /gdbus/non-socket
936s ok - glib/gdbus-non-socket.test
936s # Running test: glib/uri.test
936s # End of gdbus tests
936s TAP version 14
936s # random seed: R02S8a854c0176e89f094303418739fb61e0
936s 1..24
936s # Start of uri tests
936s ok 1 /uri/file-to-uri
936s ok 2 /uri/file-from-uri
936s ok 3 /uri/file-roundtrip
936s ok 4 /uri/list
936s # Test 0: %2Babc %4F
936s # Test 1: %2Babc %4F
936s # Test 2: %00abc %4F
936s # Test 3: /cursors/none.png
936s # Test 4: /cursors%2fbad-subdir/none.png
936s # Test 5: %0
936s # Test 6: %ra
936s # Test 7: %2r
936s # Test 8: Timm B?der
936s # Test 9: (null)
936s ok 5 /uri/unescape-string
936s ok 6 /uri/unescape-segment
936s # Test 0: abcdefgABCDEFG._~
936s # Test 1: :+ \\?#
936s # Test 2: a+b:c
936s # Test 3: a+b:c\303\234
936s # Test 4: \374;\322
936s # Test 5: \303\261\303(
936s ok 7 /uri/escape-string
936s ok 8 /uri/escape-bytes
936s ok 9 /uri/scheme
936s ok 10 /uri/build
936s ok 11 /uri/split
936s ok 12 /uri/is_valid
936s ok 13 /uri/to-string
936s ok 14 /uri/join
936s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip
936s # Combination 0
936s # Combination 1
936s # Combination 2
936s # Combination 3
936s # Combination 4
936s # Combination 5
936s # Combination 6
936s # Combination 7
936s # Combination 8
936s # Combination 9
936s # Combination 10
936s # Combination 11
936s # Combination 12
936s # Combination 13
936s # Combination 14
936s # Combination 15
936s # Combination 16
936s # Combination 17
936s # Combination 18
936s # Combination 19
936s # Combination 20
936s # Combination 21
936s # Combination 22
936s # Combination 23
936s # Combination 24
936s # Combination 25
936s # Combination 26
936s # Combination 27
936s # Combination 28
936s # Combination 29
936s # Combination 30
936s # Combination 31
936s # Combination 32
936s # Combination 33
936s # Combination 34
936s # Combination 35
936s # Combination 36
936s # Combination 37
936s # Combination 38
936s # Combination 39
936s # Combination 40
936s # Combination 41
936s # Combination 42
936s # Combination 43
936s # Combination 44
936s # Combination 45
936s # Combination 46
936s # Combination 47
936s # Combination 48
936s # Combination 49
936s # Combination 50
936s # Combination 51
936s # Combination 52
936s # Combination 53
936s # Combination 54
936s # Combination 55
936s # Combination 56
936s # Combination 57
936s # Combination 58
936s # Combination 59
936s # Combination 60
936s # Combination 61
936s # Combination 62
936s # Combination 63
936s # Combination 64
936s # Combination 65
936s # Combination 66
936s # Combination 67
936s # Combination 68
936s # Combination 69
936s # Combination 70
936s # Combination 71
936s # Combination 72
936s # Combination 73
936s # Combination 74
936s # Combination 75
936s # Combination 76
936s # Combination 77
936s # Combination 78
936s # Combination 79
936s # Combination 80
936s # Combination 81
936s # Combination 82
936s # Combination 83
936s # Combination 84
936s # Combination 85
936s # Combination 86
936s # Combination 87
936s # Combination 88
936s # Combination 89
936s # Combination 90
936s # Combination 91
936s # Combination 92
936s # Combination 93
936s # Combination 94
936s # Combination 95
936s # Combination 96
936s # Combination 97
936s # Combination 98
936s # Combination 99
936s # Combination 100
936s # Combination 101
936s # Combination 102
936s # Combination 103
936s # Combination 104
936s # Combination 105
936s # Combination 106
936s # Combination 107
936s # Combination 108
936s # Combination 109
936s # Combination 110
936s # Combination 111
936s # Combination 112
936s # Combination 113
936s # Combination 114
936s # Combination 115
936s # Combination 116
936s # Combination 117
936s # Combination 118
936s # Combination 119
936s # Combination 120
936s # Combination 121
936s # Combination 122
936s # Combination 123
936s # Combination 124
936s # Combination 125
936s # Combination 126
936s # Combination 127
936s # Combination 128
936s # Combination 129
936s # Combination 130
936s # Combination 131
936s # Combination 132
936s # Combination 133
936s # Combination 134
936s # Combination 135
936s # Combination 136
936s # Combination 137
936s # Combination 138
936s # Combination 139
936s # Combination 140
936s # Combination 141
936s # Combination 142
936s # Combination 143
936s # Combination 144
936s # Combination 145
936s # Combination 146
936s # Combination 147
936s # Combination 148
936s # Combination 149
936s # Combination 150
936s # Combination 151
936s # Combination 152
936s # Combination 153
936s # Combination 154
936s # Combination 155
936s # Combination 156
936s # Combination 157
936s # Combination 158
936s # Combination 159
936s # Combination 160
936s # Combination 161
936s # Combination 162
936s # Combination 163
936s # Combination 164
936s # Combination 165
936s # Combination 166
936s # Combination 167
936s # Combination 168
936s # Combination 169
936s # Combination 170
936s # Combination 171
936s # Combination 172
936s # Combination 173
936s # Combination 174
936s # Combination 175
936s # Combination 176
936s # Combination 177
936s # Combination 178
936s # Combination 179
936s # Combination 180
936s # Combination 181
936s # Combination 182
936s # Combination 183
936s # Combination 184
936s # Combination 185
936s # Combination 186
936s # Combination 187
936s # Combination 188
936s # Combination 189
936s # Combination 190
936s # Combination 191
936s # Combination 192
936s # Combination 193
936s # Combination 194
936s # Combination 195
936s # Combination 196
936s # Combination 197
936s # Combination 198
936s # Combination 199
936s # Combination 200
936s # Combination 201
936s # Combination 202
936s # Combination 203
936s # Combination 204
936s # Combination 205
936s # Combination 206
936s # Combination 207
936s # Combination 208
936s # Combination 209
936s # Combination 210
936s # Combination 211
936s # Combination 212
936s # Combination 213
936s # Combination 214
936s # Combination 215
936s # Combination 216
936s # Combination 217
936s # Combination 218
936s # Combination 219
936s # Combination 220
936s # Combination 221
936s # Combination 222
936s # Combination 223
936s # Combination 224
936s # Combination 225
936s # Combination 226
936s # Combination 227
936s # Combination 228
936s # Combination 229
936s # Combination 230
936s # Combination 231
936s # Combination 232
936s # Combination 233
936s # Combination 234
936s # Combination 235
936s # Combination 236
936s # Combination 237
936s # Combination 238
936s # Combination 239
936s # Combination 240
936s # Combination 241
936s # Combination 242
936s # Combination 243
936s # Combination 244
936s # Combination 245
936s # Combination 246
936s # Combination 247
936s # Combination 248
936s # Combination 249
936s # Combination 250
936s # Combination 251
936s # Combination 252
936s # Combination 253
936s # Combination 254
936s # Combination 255
936s ok 15 /uri/join-split-round-trip
936s ok 16 /uri/normalize
936s # Start of unescape-bytes tests
936s # Test 0: %00%00
936s # Test 1: /cursors/none.png
936s # Test 2: /cursors%2fbad-subdir/none.png
936s # Test 3: %%
936s # Test 4: %
936s ok 17 /uri/unescape-bytes/nul-terminated
936s # Test 0: %00%00
936s # Test 1: /cursors/none.png
936s # Test 2: /cursors%2fbad-subdir/none.png
936s # Test 3: %%
936s # Test 4: %
936s ok 18 /uri/unescape-bytes/length
936s # End of unescape-bytes tests
936s # Start of parsing tests
936s # Test 0: foo:
936s # Test 1: file:/dev/null
936s # Test 2: file:///dev/null
936s # Test 3: ftp://user@host/path
936s # Test 4: ftp://user@host:9999/path
936s # Test 5: ftp://user:password@host/path
936s # Test 6: ftp://user:password@host:9999/path
936s # Test 7: ftp://user:password@host
936s # Test 8: http://us%65r@host
936s # Test 9: http://us%40r@host
936s # Test 10: http://us%3ar@host
936s # Test 11: http://us%2fr@host
936s # Test 12: http://us%3fr@host
936s # Test 13: http://host?query
936s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value
936s # 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
936s # Test 16: http://space/%20
936s # Test 17: http://delims/%3C%3E%23%25%22
936s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60
936s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
936s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html
936s # Test 21: http://[3ffe:2a00:100:7031::1]
936s # Test 22: http://[1080::8:800:200C:417A]/foo
936s # Test 23: http://[::192.9.5.5]/ipng
936s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html
936s # Test 25: http://[2010:836B:4179::836B:4179]
936s # Test 26: http://host/path with spaces
936s # Test 27: http://host/path
936s # Test 28: http://host/path
936s # Test 29: http://host
936s # Test 30: http://host:999
936s # Test 31: http://host/pa
936s # th
936s # Test 32: http:
936s # //host/path
936s # Test 33: http:// host/path
936s # Test 34: http://host/path?
936s # Test 35: http://host/path#
936s # Test 36: http://host/path%
936s # Test 37: http://h%ost/path
936s # Test 38: http://host/path%%
936s # Test 39: http://host/path%%%
936s # Test 40: http://host/path%/x/
936s # Test 41: http://host/path%0x/
936s # Test 42: http://host/path%ax
936s # Test 43: http://host/p?th/
936s # Test 44: HTTP:////////////////
936s # Test 45: http://@host
936s # Test 46: http://:@host
936s # Test 47: scheme://foo%3Abar._webdav._tcp.local
936s # Test 48: http://example.com/..
936s # Test 49: foo0://host/path
936s # Test 50: f0.o://host/path
936s # Test 51: http++://host/path
936s # Test 52: http-ish://host/path
936s # Test 53: http://[fe80::dead:beef%]/
936s # Test 54: http://[fe80::dead:beef%em1]/
936s # Test 55: http://[fe80::dead:beef%em1]/
936s # Test 56: http://[fe80::dead:beef%25em1]/
936s # Test 57: http://[fe80::dead:beef%25em1%20]/
936s # Test 58: http://[fe80::dead:beef%25em%31]/
936s # Test 59: http://[fe80::dead:beef%10]/
936s # Test 60: http://[fe80::dead:beef%10]/
936s # Test 61: http://[fe80::dead:beef%25]/
936s # Test 62: http://[fe80::dead:beef%25]/
936s # Test 63: http://[192.168.0.1%25em1]/
936s # Test 64: http://[fe80::dead:beef%2em1]/
936s # Test 65: http://[fe80::dead:beef%2em1]/
936s # Test 66: http://[fe80::dead:beef%25em1%00]/
936s # Test 67: http://[fe80::dead:beef%25em1%00]/
936s # Test 68: http://xn--mixed-?p/
936s # Test 69: data:.///
936s # Test 70: data:/.//
936s ok 19 /uri/parsing/absolute
936s ok 20 /uri/parsing/relative
936s # End of parsing tests
936s # Start of iter-params tests
936s # URI 0: p1=foo&p2=bar;p3=baz
936s # URI 1: p1=foo&p2=bar
936s # URI 2: p1=foo&&P1=bar
936s # URI 3: %00=foo
936s # URI 4: p1=%00
936s # URI 5: p1=foo&p1=bar
936s # URI 6: p1=foo&P1=bar
936s # URI 7: =%
936s # URI 8: =
936s # URI 9: foo
936s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
936s ok 21 /uri/iter-params/nul-terminated
936s # URI 0: p1=foo&p2=bar;p3=baz
936s # URI 1: p1=foo&p2=bar
936s # URI 2: p1=foo&&P1=bar
936s # URI 3: %00=foo
936s # URI 4: p1=%00
936s # URI 5: p1=foo&p1=bar
936s # URI 6: p1=foo&P1=bar
936s # URI 7: =%
936s # URI 8: =
936s # URI 9: foo
936s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
936s ok 22 /uri/iter-params/length
936s # End of iter-params tests
936s # Start of parse-params tests
936s # URI 0: p1=foo&p2=bar;p3=baz
936s # URI 1: p1=foo&p2=bar
936s # URI 2: p1=foo&&P1=bar
936s # URI 3: %00=foo
936s # URI 4: p1=%00
936s # URI 5: p1=foo&p1=bar
936s # URI 6: p1=foo&P1=bar
936s # URI 7: =%
936s # URI 8: =
936s # URI 9: foo
936s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
936s ok 23 /uri/parse-params/nul-terminated
936s # URI 0: p1=foo&p2=bar;p3=baz
936s # URI 1: p1=foo&p2=bar
936s # URI 2: p1=foo&&P1=bar
936s # URI 3: %00=foo
936s # URI 4: p1=%00
936s # URI 5: p1=foo&p1=bar
936s # URI 6: p1=foo&P1=bar
936s # URI 7: =%
936s # URI 8: =
936s # URI 9: foo
936s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
936s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
936s ok 24 /uri/parse-params/length
936s # End of parse-params tests
936s # End of uri tests
936s ok - glib/uri.test
936s # Running test: glib/inet-address.test
936s TAP version 14
936s # random seed: R02S302ba2ff50c0466238fc7c10a373e680
936s 1..11
936s # Start of inet-address tests
936s ok 1 /inet-address/parse
936s ok 2 /inet-address/any
936s ok 3 /inet-address/loopback
936s ok 4 /inet-address/bytes
936s ok 5 /inet-address/property
936s # End of inet-address tests
936s # Start of socket-address tests
936s ok 6 /socket-address/basic
936s ok 7 /socket-address/to-string
936s # End of socket-address tests
936s # Start of address-mask tests
936s ok 8 /address-mask/parse
936s ok 9 /address-mask/property
936s ok 10 /address-mask/equal
936s ok 11 /address-mask/match
936s # End of address-mask tests
936s ok - glib/inet-address.test
936s # Running test: glib/dynamictype.test
936s TAP version 14
936s # random seed: R02Se8b9520354c30db750627d99351d8f51
936s 1..2
936s # Start of gobject tests
936s ok 1 /gobject/dynamic-type
936s # Start of dynamic-type tests
936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623
936s ok 2 /gobject/dynamic-type/query
936s # End of dynamic-type tests
936s # End of gobject tests
936s ok - glib/dynamictype.test
936s # Running test: glib/utf8-validate.test
936s TAP version 14
936s # random seed: R02S0769718a3195e2194925adaa4aa45bb9
936s 1..238
936s # Start of utf8 tests
936s # Vector 0
936s # Vector 1
936s # Vector 2
936s # Vector 3
936s # Vector 4
936s # Vector 5
936s # Vector 6
936s # Vector 7
936s # Vector 8
936s # Vector 9
936s # Vector 10
936s # Vector 11
936s # Vector 12
936s # Vector 13
936s # Vector 14
936s # Vector 15
936s # Vector 16
936s # Vector 17
936s # Vector 18
936s # Vector 19
936s # Vector 20
936s # Vector 21
936s # Vector 22
936s # Vector 23
936s # Vector 24
936s # Vector 25
936s # Vector 26
936s # Vector 27
936s ok 1 /utf8/get-char-validated
936s # Start of validate tests
936s ok 2 /utf8/validate/0
936s ok 3 /utf8/validate/1
936s ok 4 /utf8/validate/2
936s ok 5 /utf8/validate/3
936s ok 6 /utf8/validate/4
936s ok 7 /utf8/validate/5
936s ok 8 /utf8/validate/6
936s ok 9 /utf8/validate/7
936s ok 10 /utf8/validate/8
936s ok 11 /utf8/validate/9
936s ok 12 /utf8/validate/10
936s ok 13 /utf8/validate/11
936s ok 14 /utf8/validate/12
936s ok 15 /utf8/validate/13
936s ok 16 /utf8/validate/14
936s ok 17 /utf8/validate/15
936s ok 18 /utf8/validate/16
936s ok 19 /utf8/validate/17
936s ok 20 /utf8/validate/18
936s ok 21 /utf8/validate/19
936s ok 22 /utf8/validate/20
936s ok 23 /utf8/validate/21
936s ok 24 /utf8/validate/22
936s ok 25 /utf8/validate/23
936s ok 26 /utf8/validate/24
936s ok 27 /utf8/validate/25
936s ok 28 /utf8/validate/26
936s ok 29 /utf8/validate/27
936s ok 30 /utf8/validate/28
936s ok 31 /utf8/validate/29
936s ok 32 /utf8/validate/30
936s ok 33 /utf8/validate/31
936s ok 34 /utf8/validate/32
936s ok 35 /utf8/validate/33
936s ok 36 /utf8/validate/34
936s ok 37 /utf8/validate/35
936s ok 38 /utf8/validate/36
936s ok 39 /utf8/validate/37
936s ok 40 /utf8/validate/38
936s ok 41 /utf8/validate/39
936s ok 42 /utf8/validate/40
936s ok 43 /utf8/validate/41
936s ok 44 /utf8/validate/42
936s ok 45 /utf8/validate/43
936s ok 46 /utf8/validate/44
936s ok 47 /utf8/validate/45
936s ok 48 /utf8/validate/46
936s ok 49 /utf8/validate/47
936s ok 50 /utf8/validate/48
936s ok 51 /utf8/validate/49
936s ok 52 /utf8/validate/50
936s ok 53 /utf8/validate/51
936s ok 54 /utf8/validate/52
936s ok 55 /utf8/validate/53
936s ok 56 /utf8/validate/54
936s ok 57 /utf8/validate/55
936s ok 58 /utf8/validate/56
936s ok 59 /utf8/validate/57
936s ok 60 /utf8/validate/58
936s ok 61 /utf8/validate/59
936s ok 62 /utf8/validate/60
936s ok 63 /utf8/validate/61
936s ok 64 /utf8/validate/62
936s ok 65 /utf8/validate/63
936s ok 66 /utf8/validate/64
936s ok 67 /utf8/validate/65
936s ok 68 /utf8/validate/66
936s ok 69 /utf8/validate/67
936s ok 70 /utf8/validate/68
936s ok 71 /utf8/validate/69
936s ok 72 /utf8/validate/70
936s ok 73 /utf8/validate/71
936s ok 74 /utf8/validate/72
936s ok 75 /utf8/validate/73
936s ok 76 /utf8/validate/74
936s ok 77 /utf8/validate/75
936s ok 78 /utf8/validate/76
936s ok 79 /utf8/validate/77
936s ok 80 /utf8/validate/78
936s ok 81 /utf8/validate/79
936s ok 82 /utf8/validate/80
936s ok 83 /utf8/validate/81
936s ok 84 /utf8/validate/82
936s ok 85 /utf8/validate/83
936s ok 86 /utf8/validate/84
936s ok 87 /utf8/validate/85
936s ok 88 /utf8/validate/86
936s ok 89 /utf8/validate/87
936s ok 90 /utf8/validate/88
936s ok 91 /utf8/validate/89
936s ok 92 /utf8/validate/90
936s ok 93 /utf8/validate/91
936s ok 94 /utf8/validate/92
936s ok 95 /utf8/validate/93
936s ok 96 /utf8/validate/94
936s ok 97 /utf8/validate/95
936s ok 98 /utf8/validate/96
936s ok 99 /utf8/validate/97
936s ok 100 /utf8/validate/98
936s ok 101 /utf8/validate/99
936s ok 102 /utf8/validate/100
936s ok 103 /utf8/validate/101
936s ok 104 /utf8/validate/102
936s ok 105 /utf8/validate/103
936s ok 106 /utf8/validate/104
936s ok 107 /utf8/validate/105
936s ok 108 /utf8/validate/106
936s ok 109 /utf8/validate/107
936s ok 110 /utf8/validate/108
936s ok 111 /utf8/validate/109
936s ok 112 /utf8/validate/110
936s ok 113 /utf8/validate/111
936s ok 114 /utf8/validate/112
936s ok 115 /utf8/validate/113
936s ok 116 /utf8/validate/114
936s ok 117 /utf8/validate/115
936s ok 118 /utf8/validate/116
936s ok 119 /utf8/validate/117
936s ok 120 /utf8/validate/118
936s ok 121 /utf8/validate/119
936s ok 122 /utf8/validate/120
936s ok 123 /utf8/validate/121
936s ok 124 /utf8/validate/122
936s ok 125 /utf8/validate/123
936s ok 126 /utf8/validate/124
936s ok 127 /utf8/validate/125
936s ok 128 /utf8/validate/126
936s ok 129 /utf8/validate/127
936s ok 130 /utf8/validate/128
936s ok 131 /utf8/validate/129
936s ok 132 /utf8/validate/130
936s ok 133 /utf8/validate/131
936s ok 134 /utf8/validate/132
936s ok 135 /utf8/validate/133
936s ok 136 /utf8/validate/134
936s ok 137 /utf8/validate/135
936s ok 138 /utf8/validate/136
936s ok 139 /utf8/validate/137
936s ok 140 /utf8/validate/138
936s ok 141 /utf8/validate/139
936s ok 142 /utf8/validate/140
936s ok 143 /utf8/validate/141
936s ok 144 /utf8/validate/142
936s ok 145 /utf8/validate/143
936s ok 146 /utf8/validate/144
936s ok 147 /utf8/validate/145
936s ok 148 /utf8/validate/146
936s ok 149 /utf8/validate/147
936s ok 150 /utf8/validate/148
936s ok 151 /utf8/validate/149
936s ok 152 /utf8/validate/150
936s ok 153 /utf8/validate/151
936s ok 154 /utf8/validate/152
936s ok 155 /utf8/validate/153
936s ok 156 /utf8/validate/154
936s ok 157 /utf8/validate/155
936s ok 158 /utf8/validate/156
936s ok 159 /utf8/validate/157
936s ok 160 /utf8/validate/158
936s ok 161 /utf8/validate/159
936s ok 162 /utf8/validate/160
936s ok 163 /utf8/validate/161
936s ok 164 /utf8/validate/162
936s ok 165 /utf8/validate/163
936s ok 166 /utf8/validate/164
936s ok 167 /utf8/validate/165
936s ok 168 /utf8/validate/166
936s ok 169 /utf8/validate/167
936s ok 170 /utf8/validate/168
936s ok 171 /utf8/validate/169
936s ok 172 /utf8/validate/170
936s ok 173 /utf8/validate/171
936s ok 174 /utf8/validate/172
936s ok 175 /utf8/validate/173
936s ok 176 /utf8/validate/174
936s ok 177 /utf8/validate/175
936s ok 178 /utf8/validate/176
936s ok 179 /utf8/validate/177
936s ok 180 /utf8/validate/178
936s ok 181 /utf8/validate/179
936s ok 182 /utf8/validate/180
936s ok 183 /utf8/validate/181
936s ok 184 /utf8/validate/182
936s ok 185 /utf8/validate/183
936s ok 186 /utf8/validate/184
936s ok 187 /utf8/validate/185
936s ok 188 /utf8/validate/186
936s ok 189 /utf8/validate/187
936s ok 190 /utf8/validate/188
936s ok 191 /utf8/validate/189
936s ok 192 /utf8/validate/190
936s ok 193 /utf8/validate/191
936s ok 194 /utf8/validate/192
936s ok 195 /utf8/validate/193
936s ok 196 /utf8/validate/194
936s ok 197 /utf8/validate/195
936s ok 198 /utf8/validate/196
936s ok 199 /utf8/validate/197
936s ok 200 /utf8/validate/198
936s ok 201 /utf8/validate/199
936s ok 202 /utf8/validate/200
936s ok 203 /utf8/validate/201
936s ok 204 /utf8/validate/202
936s ok 205 /utf8/validate/203
936s ok 206 /utf8/validate/204
936s ok 207 /utf8/validate/205
936s ok 208 /utf8/validate/206
936s ok 209 /utf8/validate/207
936s ok 210 /utf8/validate/208
936s ok 211 /utf8/validate/209
936s ok 212 /utf8/validate/210
936s ok 213 /utf8/validate/211
936s ok 214 /utf8/validate/212
936s ok 215 /utf8/validate/213
936s ok 216 /utf8/validate/214
936s ok 217 /utf8/validate/215
936s ok 218 /utf8/validate/216
936s ok 219 /utf8/validate/217
936s ok 220 /utf8/validate/218
936s ok 221 /utf8/validate/219
936s ok 222 /utf8/validate/220
936s ok 223 /utf8/validate/221
936s ok 224 /utf8/validate/222
936s ok 225 /utf8/validate/223
936s ok 226 /utf8/validate/224
936s ok 227 /utf8/validate/225
936s ok 228 /utf8/validate/226
936s ok 229 /utf8/validate/227
936s ok 230 /utf8/validate/228
936s ok 231 /utf8/validate/229
936s ok 232 /utf8/validate/230
936s ok 233 /utf8/validate/231
936s ok 234 /utf8/validate/232
936s ok 235 /utf8/validate/233
936s ok 236 /utf8/validate/234
936s ok 237 /utf8/validate/235
936s ok 238 /utf8/validate/236
936s # End of validate tests
936s # End of utf8 tests
936s TAP version 14
936s # random seed: R02S6aebb0d55aab0691f79fb30513bf2e02
936s 1..5
936s ok - glib/utf8-validate.test
936s # Running test: glib/gdbus-auth.test
936s # Start of gdbus tests
936s # Start of auth tests
936s # Start of client tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/EXTERNAL/.dirs/runtime
936s ok 1 /gdbus/auth/client/EXTERNAL
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_S5L052/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime
936s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1
936s # End of client tests
936s # Start of server tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/ANONYMOUS/.dirs/runtime
936s ok 3 /gdbus/auth/server/ANONYMOUS
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/EXTERNAL/.dirs/runtime
936s ok 4 /gdbus/auth/server/EXTERNAL
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_S5L052/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime
936s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1
936s # End of server tests
936s # End of auth tests
936s # End of gdbus tests
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s ok - glib/gdbus-auth.test
936s TAP version 14
936s # Running test: glib/gdbus-test-codegen.test
936s # random seed: R02S6d21d8640005a5c9519359bc49777cd9
936s 1..8
936s # Start of gdbus tests
936s # Start of codegen tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/annotations/.dirs/runtime
936s ok 1 /gdbus/codegen/annotations
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/interface_stability/.dirs/runtime
936s ok 2 /gdbus/codegen/interface_stability
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/object-manager/.dirs/runtime
936s ok 3 /gdbus/codegen/object-manager
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/property-naming/.dirs/runtime
936s ok 4 /gdbus/codegen/property-naming
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/autocleanups/.dirs/runtime
936s ok 5 /gdbus/codegen/autocleanups
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/deprecations/.dirs/runtime
936s ok 6 /gdbus/codegen/deprecations
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/standalone-interface-info/.dirs/runtime
936s ok 7 /gdbus/codegen/standalone-interface-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_IUF152/gdbus/codegen/unix-fd-list/.dirs/runtime
936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
936s ok 8 /gdbus/codegen/unix-fd-list
936s # End of codegen tests
936s # End of gdbus tests
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s ok - glib/gdbus-test-codegen.test
936s # Running test: glib/proxy-test.test
936s TAP version 14
936s # random seed: R02Sa07a6bcf04d04c7117f5183829ad3eb8
936s 1..11
936s # Start of proxy tests
936s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver?
936s ok 1 /proxy/direct_sync
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7d820 and GSocketClientAsyncConnectData 0x2aa21a7cd90
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7e150 for GSocketClientAsyncConnectData 0x2aa21a7cd90
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
936s ok 2 /proxy/direct_async
936s ok 3 /proxy/single_sync
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7dcc0 and GSocketClientAsyncConnectData 0x2aa21a7cd90
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7e820 for GSocketClientAsyncConnectData 0x2aa21a7cd90
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
936s ok 4 /proxy/single_async
936s ok 5 /proxy/multiple_sync
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7df50 and GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7fb80 for GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7fb20 for GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
936s ok 6 /proxy/multiple_async
936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
936s ok 7 /proxy/invalid-uris-sync
936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7db10 and GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
936s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7dcc0 and GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
936s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7db10 and GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7e1b0 for GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7dcc0 and GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7fdb0 for GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
936s ok 8 /proxy/invalid-uris-async
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7d820 and GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: IPv6 DNS error: Not found
936s # GLib-GIO-DEBUG: IPv4 DNS error: Not found
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found
936s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a803e0 and GSocketClientAsyncConnectData 0x2aa21a7e0a0
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7fb80 for GSocketClientAsyncConnectData 0x2aa21a7e0a0
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
936s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7db10 and GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7fdb0 for GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
936s ok 9 /proxy/dns
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7d820 and GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7f2a0 for GSocketClientAsyncConnectData 0x2aa21a7dee0
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
936s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7db10 and GSocketClientAsyncConnectData 0x2aa21a7dd80
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7f2a0 for GSocketClientAsyncConnectData 0x2aa21a7dd80
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
936s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
936s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21a7d820 and GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
936s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21a7fac0 for GSocketClientAsyncConnectData 0x2aa21a7fd40
936s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
936s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
936s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
936s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
936s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
936s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
936s ok 10 /proxy/override
936s ok 11 /proxy/enumerator-ports
936s # End of proxy tests
936s ok - glib/proxy-test.test
936s # Running test: glib/autoptr-girepository.test
936s TAP version 14
936s # random seed: R02Sdabd110f5b8510652095d68a0729f9fc
936s 1..24
936s # Start of autoptr tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/repository/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 1 /autoptr/repository
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/typelib/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 2 /autoptr/typelib
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/base-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 3 /autoptr/base-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/arg-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 4 /autoptr/arg-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/callable-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 5 /autoptr/callable-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/callback-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 6 /autoptr/callback-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/constant-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 7 /autoptr/constant-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/enum-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 8 /autoptr/enum-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/field-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 9 /autoptr/field-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/flags-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 10 /autoptr/flags-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/cache
936s ok - glib/autoptr-girepository.test
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/function-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 11 /autoptr/function-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/interface-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 12 /autoptr/interface-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/object-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 13 /autoptr/object-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/property-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 14 /autoptr/property-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/registered-type-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 15 /autoptr/registered-type-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/signal-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 16 /autoptr/signal-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/struct-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 17 /autoptr/struct-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/type-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 18 /autoptr/type-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/union-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 19 /autoptr/union-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/value-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 20 /autoptr/value-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/autoptr/vfunc-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 21 /autoptr/vfunc-info
936s # End of autoptr tests
936s # Start of auto tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/auto/arg-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 22 /auto/arg-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/auto/type-info/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 23 /auto/type-info
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E4HW52/auto/function-invoker/.dirs/runtime
936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
936s ok 24 /auto/function-invoker
936s # End of auto tests
936s # Running test: glib/g-file.test
936s TAP version 14
936s # random seed: R02Sc2512902143e28a69506018f45c58765
936s 1..8
936s # Start of g-file tests
936s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
936s ok 1 /g-file/test_g_file_new_null
936s ok 2 /g-file/test_g_file_new_for_path
936s ok 3 /g-file/test_g_file_new_for_uri
936s ok 4 /g-file/test_g_file_dup
936s ok 5 /g-file/test_g_file_get_parse_name_utf8
936s file:///tmp/test-tmp-glib_g-file.test-4CRW52
936s file:///tmp
936s file:///tmp
936s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
936s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
936s ok 6 /g-file/test_g_file_new_for_commandline_arg
936s /dir1 /dir1/dir2/dir3/
936s /dir1/ /dir1/dir2/dir3/
936s /dir1 /dir1/dir2/dir3
936s /dir1/ /dir1/dir2/dir3
936s /tmp/ /something/
936s /dir1/dir2 /dir1/
936s //dir1/new //dir1/new/dir2/dir3
936s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2
936s file:///dir1 file:///dir1/dir2/dir3/
936s file:///dir1/ file:///dir1/dir2/dir3/
936s file:///dir1 file:///dir1/dir2/dir3
936s file:///dir1/ file:///dir1/dir2/dir3
936s file:///tmp/ file:///something/
936s file:///dir1/dir2 file:///dir1/
936s file:////dir1/new file:////dir1/new/dir2/dir3
936s 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
936s ok 7 /g-file/test_g_file_has_prefix
936s ok 8 /g-file/test_g_file_get_parent_child
936s # End of g-file tests
936s ok - glib/g-file.test
936s # Running test: glib/bindinggroup.test
936s TAP version 14
936s # random seed: R02S43c1ff856e552e4e98c6e6758564f588
936s 1..11
936s # Start of GObject tests
936s # Start of BindingGroup tests
936s ok 1 /GObject/BindingGroup/invalid
936s ok 2 /GObject/BindingGroup/default
936s ok 3 /GObject/BindingGroup/bidirectional
936s ok 4 /GObject/BindingGroup/transform
936s ok 5 /GObject/BindingGroup/transform-closures
936s ok 6 /GObject/BindingGroup/same-object
936s ok 7 /GObject/BindingGroup/weak-ref-source
936s ok 8 /GObject/BindingGroup/weak-ref-target
936s ok 9 /GObject/BindingGroup/properties
936s ok 10 /GObject/BindingGroup/weak-notify-no-bindings
936s ok 11 /GObject/BindingGroup/empty-closures
936s # End of BindingGroup tests
936s # End of GObject tests
936s ok - glib/bindinggroup.test
936s # Running test: glib/boxed.test
936s TAP version 14
936s # random seed: R02Se02459b56e336a52555523998884793c
936s 1..27
936s # Start of boxed tests
936s ok 1 /boxed/define
936s ok 2 /boxed/ownership
936s ok 3 /boxed/closure
936s ok 4 /boxed/date
936s ok 5 /boxed/value
936s ok 6 /boxed/string
936s ok 7 /boxed/hashtable
936s ok 8 /boxed/array
936s ok 9 /boxed/ptrarray
936s ok 10 /boxed/regex
936s ok 11 /boxed/varianttype
936s ok 12 /boxed/error
936s ok 13 /boxed/datetime
936s ok 14 /boxed/matchinfo
936s ok 15 /boxed/keyfile
936s ok 16 /boxed/mainloop
936s ok 17 /boxed/maincontext
936s ok 18 /boxed/source
936s ok 19 /boxed/variantbuilder
936s ok 20 /boxed/timezone
936s ok 21 /boxed/pollfd
936s ok 22 /boxed/markup
936s ok 23 /boxed/thread
936s ok 24 /boxed/checksum
936s ok 25 /boxed/tree
936s ok 26 /boxed/patternspec
936s ok 27 /boxed/rand
936s # End of boxed tests
936s ok - glib/boxed.test
936s # Running test: glib/debugcontroller.test
936s TAP version 14
936s # random seed: R02S17cfe21fb74951e1cd8e7290e0c08336
936s 1..3
936s # Start of debug-controller tests
936s # Start of dbus tests
936s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
936s # GLib-GIO-DEBUG: Debug output enabled
936s # GLib-GIO-DEBUG: Debug output disabled
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s ok 1 /debug-controller/dbus/basic
936s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
936s ok 2 /debug-controller/dbus/duplicate
936s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
936s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102
936s # End of dbus tests
936s # End of debug-controller tests
936s ok - glib/debugcontroller.test
936s # Running test: glib/list.test
936s TAP version 14
936s # random seed: R02S039a02e3bfb765abc9ac8bdd06af560d
936s 1..20
936s # Start of list tests
936s ok 1 /list/sort
936s ok 2 /list/sort-with-data
936s ok 3 /list/insert-before-link
936s ok 4 /list/insert-sorted
936s ok 5 /list/insert-sorted-with-data
936s ok 6 /list/reverse
936s ok 7 /list/nth
936s ok 8 /list/concat
936s ok 9 /list/remove
936s ok 10 /list/remove-all
936s ok 11 /list/first-last
936s ok 12 /list/insert
936s ok 13 /list/free-full
936s ok 14 /list/copy
936s ok 15 /list/copy-deep
936s ok 16 /list/delete-link
936s ok 17 /list/prepend
936s ok 18 /list/position
936s ok 19 /list/double-free
936s # Start of sort tests
936s ok 20 /list/sort/stable
936s # End of sort tests
936s # End of list tests
936s ok - glib/list.test
936s # Running test: glib/custom-dispatch.test
936s TAP version 14
936s # random seed: R02Sd01ecbc19507a4891e8f7c30a242dd38
936s 1..2
936s # Start of properties tests
936s # Start of custom-dispatch tests
936s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization
936s ok 1 /properties/custom-dispatch/init
936s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers
936s ok 2 /properties/custom-dispatch/set
936s # End of custom-dispatch tests
936s # End of properties tests
936s ok - glib/custom-dispatch.test
936s # Running test: glib/portal-support-snap.test
936s TAP version 14
936s # random seed: R02S7b14cbe39a05a6c3add64e20e086c22f
936s 1..7
936s # Start of portal-support tests
936s # Start of snap tests
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl/.dirs/runtime
936s # Created snap.yaml in /tmp/test_portal-support-snap_I9CX52/meta/snap.yaml
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52/portal-support/snap/no-snapctl: No such file or directory
936s ok 1 /portal-support/snap/no-snapctl
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/runtime
936s # Created snap.yaml in /tmp/test_portal-support-snap_I9CX52/meta/snap.yaml
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none/.dirs/runtime/snapctl
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52/portal-support/snap/none: No such file or directory
936s ok 2 /portal-support/snap/none
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/runtime
936s # Created snap.yaml in /tmp/test_portal-support-snap_I9CX52/meta/snap.yaml
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all/.dirs/runtime/snapctl
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52/portal-support/snap/all: No such file or directory
936s ok 3 /portal-support/snap/all
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/runtime
936s # Created snap.yaml in /tmp/test_portal-support-snap_I9CX52/meta/snap.yaml
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only/.dirs/runtime/snapctl
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52/portal-support/snap/desktop-only: No such file or directory
936s ok 4 /portal-support/snap/desktop-only
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/runtime
936s # Created snap.yaml in /tmp/test_portal-support-snap_I9CX52/meta/snap.yaml
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only/.dirs/runtime/snapctl
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52/portal-support/snap/network-only: No such file or directory
936s ok 5 /portal-support/snap/network-only
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/runtime
936s # Created snap.yaml in /tmp/test_portal-support-snap_I9CX52/meta/snap.yaml
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only/.dirs/runtime/snapctl
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52/portal-support/snap/gsettings-only: No such file or directory
936s ok 6 /portal-support/snap/gsettings-only
936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/home
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/cache
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/system-config2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/config
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/system-data2
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/data
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/state
936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime
936s # Created snap.yaml in /tmp/test_portal-support-snap_I9CX52/meta/snap.yaml
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
936s # Created snapctl in /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
936s ok - glib/portal-support-snap.test
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52/portal-support/snap/updates-dynamically: No such file or directory
936s ok 7 /portal-support/snap/updates-dynamically
936s # End of snap tests
936s # End of portal-support tests
936s Unable to clean up temporary directory /tmp/test_portal-support-snap_I9CX52: No such file or directory
936s # Running test: glib/properties-refcount4.test
936s TAP version 14
936s # random seed: R02Sf31300fffa53d89de878114bc9716b8b
936s 1..1
936s # Start of gobject tests
936s # Start of refcount tests
936s ok 1 /gobject/refcount/properties-4
936s # End of refcount tests
936s # End of gobject tests
936s ok - glib/properties-refcount4.test
936s # Running test: glib/spawn-singlethread.test
936s TAP version 14
936s # random seed: R02Sd74117b9c8db4da21e9ee2ff96247546
936s 1..9
936s # Start of gthread tests
936s ok 1 /gthread/spawn-single-sync
936s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket
936s ok 2 /gthread/spawn-stderr-socket
936s ok 3 /gthread/spawn-single-async
936s # thread 1
936s # thread 1
936s ok 4 /gthread/spawn-single-async-with-fds
936s ok 5 /gthread/spawn-async-with-invalid-fds
936s ok 6 /gthread/spawn-script
936s ok 7 /gthread/spawn-posix-spawn
936s # Start of spawn tests
936s ok 8 /gthread/spawn/nonexistent
936s # FD map:
936s # • 5 → 15
936s # • 6 → 16
936s # • 7 → 17
936s # • 8 → 18
936s # • 9 → 19
936s # • 10 → 20
936s # • 11 → 21
936s # • 12 → 22
936s # • 13 → 23
936s # • 3 → 13
936s ok 9 /gthread/spawn/fd-assignment-clash
936s # End of spawn tests
936s # End of gthread tests
936s ok - glib/spawn-singlethread.test
936s # Running test: glib/utf8-misc.test
936s TAP version 14
936s # random seed: R02Sbe8393983b6995a23359df43f6002f83
936s 1..7
936s # Start of utf8 tests
936s ok 1 /utf8/strlen
936s ok 2 /utf8/strncpy
936s ok 3 /utf8/strrchr
936s ok 4 /utf8/reverse
936s ok 5 /utf8/substring
936s ok 6 /utf8/make-valid
936s ok 7 /utf8/truncate-middle
936s # End of utf8 tests
936s ok - glib/utf8-misc.test
936s # Running test: glib/hmac.test
936s TAP version 14
936s # random seed: R02S1f131e6df565ad904fdf72a3d6909387
936s 1..37
936s # Start of hmac tests
936s ok 1 /hmac/sha1-1
936s ok 2 /hmac/sha1-2
936s ok 3 /hmac/sha1-3
936s ok 4 /hmac/sha1-4
936s ok 5 /hmac/sha1-5
936s ok 6 /hmac/sha1-6
936s ok 7 /hmac/sha1-7
936s ok 8 /hmac/sha256-1
936s ok 9 /hmac/sha256-2
936s ok 10 /hmac/sha256-3
936s ok 11 /hmac/sha256-4
936s ok 12 /hmac/sha256-5
936s ok 13 /hmac/sha256-6
936s ok 14 /hmac/sha384-1
936s ok 15 /hmac/sha384-2
936s ok 16 /hmac/sha384-3
936s ok 17 /hmac/sha384-4
936s ok 18 /hmac/sha384-5
936s ok 19 /hmac/sha384-6
936s ok 20 /hmac/sha512-1
936s ok 21 /hmac/sha512-2
936s ok 22 /hmac/sha512-3
936s ok 23 /hmac/sha512-4
936s ok 24 /hmac/sha512-5
936s ok 25 /hmac/sha512-6
936s ok 26 /hmac/md5-1
936s ok 27 /hmac/md5-2
936s ok 28 /hmac/md5-3
936s ok 29 /hmac/md5-4
936s ok 30 /hmac/md5-5
936s ok 31 /hmac/md5-6
936s ok 32 /hmac/md5-7
936s ok 33 /hmac/ref-unref
936s ok 34 /hmac/copy
936s ok 35 /hmac/for-data
936s ok 36 /hmac/for-string
936s ok 37 /hmac/for-bytes
936s # End of hmac tests
936s ok - glib/hmac.test
936s # Running test: glib/cxx-17.test
936s TAP version 14
936s # random seed: R02Sf63f4d4a43428cc9008ee5b70e451499
936s 1..2
936s # Start of gtask tests
936s # 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.
936s ok 1 /gtask/name
936s # Start of name tests
936s # 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.
936s ok 2 /gtask/name/macro-wrapper
936s # End of name tests
936s # End of gtask tests
936s ok - glib/cxx-17.test
936s # Running test: glib/gdatetime.test
936s TAP version 14
936s # random seed: R02S5a541a8cbe24b78a9b673b774a49e115
936s 1..68
936s # Start of GDateTime tests
936s # Bug Reference: http://bugzilla.gnome.org/702674
936s ok 1 /GDateTime/invalid
936s ok 2 /GDateTime/add_days
936s ok 3 /GDateTime/add_full
936s ok 4 /GDateTime/add_hours
936s ok 5 /GDateTime/add_minutes
936s ok 6 /GDateTime/add_months
936s ok 7 /GDateTime/add_seconds
936s ok 8 /GDateTime/add_weeks
936s ok 9 /GDateTime/add_years
936s ok 10 /GDateTime/compare
936s ok 11 /GDateTime/diff
936s ok 12 /GDateTime/equal
936s ok 13 /GDateTime/get_day_of_week
936s ok 14 /GDateTime/get_day_of_month
936s ok 15 /GDateTime/get_day_of_year
936s ok 16 /GDateTime/get_hour
936s ok 17 /GDateTime/get_microsecond
936s ok 18 /GDateTime/get_minute
936s ok 19 /GDateTime/get_month
936s ok 20 /GDateTime/get_second
936s ok 21 /GDateTime/get_utc_offset
936s ok 22 /GDateTime/get_year
936s ok 23 /GDateTime/hash
936s ok 24 /GDateTime/new_from_unix
936s ok 25 /GDateTime/new_from_unix_utc
936s ok 26 /GDateTime/new_from_timeval
936s ok 27 /GDateTime/new_from_timeval_utc
936s ok 28 /GDateTime/new_from_iso8601
936s ok 29 /GDateTime/new_full
936s ok 30 /GDateTime/now
936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215
936s ok 31 /GDateTime/test-6-days-until-end-of-the-month
936s # %a -> expected: Sat
936s # %a -> actual: Sat
936s # %A -> expected: Saturday
936s # %A -> actual: Saturday
936s # %b -> expected: Oct
936s # %b -> actual: Oct
936s # %B -> expected: October
936s # %B -> actual: October
936s # %d -> expected: 24
936s # %d -> actual: 24
936s # %d -> expected: 01
936s # %d -> actual: 01
936s # %e -> expected: 24
936s # %e -> actual: 24
936s # %e -> expected:  1
936s # %e -> actual:  1
936s # %f -> expected: 001000
936s # %f -> actual: 001000
936s # %h -> expected: Oct
936s # %h -> actual: Oct
936s # %H -> expected: 00
936s # %H -> actual: 00
936s # %H -> expected: 15
936s # %H -> actual: 15
936s # %I -> expected: 12
936s # %I -> actual: 12
936s # %I -> expected: 12
936s # %I -> actual: 12
936s # %I -> expected: 03
936s # %I -> actual: 03
936s # %j -> expected: 297
936s # %j -> actual: 297
936s # %k -> expected:  0
936s # %k -> actual:  0
936s # %k -> expected: 13
936s # %k -> actual: 13
936s # %l -> expected: 12
936s # %l -> actual: 12
936s # %I -> expected: 12
936s # %I -> actual: 12
936s # %l -> expected:  1
936s # %l -> actual:  1
936s # %l -> expected: 10
936s # %l -> actual: 10
936s # %m -> expected: 10
936s # %m -> actual: 10
936s # %M -> expected: 00
936s # %M -> actual: 00
936s # %p -> expected: AM
936s # %p -> actual: AM
936s # %p -> expected: PM
936s # %p -> actual: PM
936s # %P -> expected: am
936s # %P -> actual: am
936s # %P -> expected: pm
936s # %P -> actual: pm
936s # %r -> expected: 12:00:00 AM
936s # %r -> actual: 12:00:00 AM
936s # %r -> expected: 01:13:13 PM
936s # %r -> actual: 01:13:13 PM
936s # %R -> expected: 00:00
936s # %R -> actual: 00:00
936s # %R -> expected: 13:13
936s # %R -> actual: 13:13
936s # %S -> expected: 00
936s # %S -> actual: 00
936s # %t -> expected:
936s # %t -> actual:
936s # %u -> expected: 6
936s # %u -> actual: 6
936s # %x -> expected: 10/24/09
936s # %x -> actual: 10/24/09
936s # %X -> expected: 00:00:00
936s # %X -> actual: 00:00:00
936s # %X -> expected: 13:14:15
936s # %X -> actual: 13:14:15
936s # %y -> expected: 09
936s # %y -> actual: 09
936s # %Y -> expected: 2009
936s # %Y -> actual: 2009
936s # %% -> expected: %
936s # %% -> actual: %
936s # % -> expected:
936s # % -> actual:
936s # %9 -> expected: (null)
936s # %9 -> actual: (null)
936s # %Z -> expected: UTC
936s # %Z -> actual: UTC
936s # %#Z %Z -> expected: utc UTC
936s # %#Z %Z -> actual: utc UTC
936s ok 32 /GDateTime/printf
936s # %a -> expected: ÅÚ
936s # %a -> actual: ÅÚ
936s # %A -> expected: ÅÚÍËÆü
936s # %A -> actual: ÅÚÍËÆü
936s # %b -> expected: 10·î
936s # %b -> actual: 10·î
936s # %B -> expected: 10·î
936s # %B -> actual: 10·î
936s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
936s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
936s # %C -> expected: 20
936s # %C -> actual: 20
936s # %d -> expected: 24
936s # %d -> actual: 24
936s # %d -> expected: 01
936s # %d -> actual: 01
936s # %e -> expected: 24
936s # %e -> actual: 24
936s # %h -> expected: 10·î
936s # %h -> actual: 10·î
936s # %H -> expected: 00
936s # %H -> actual: 00
936s # %H -> expected: 15
936s # %H -> actual: 15
936s # %I -> expected: 12
936s # %I -> actual: 12
936s # %I -> expected: 12
936s # %I -> actual: 12
936s # %I -> expected: 03
936s # %I -> actual: 03
936s # %j -> expected: 297
936s # %j -> actual: 297
936s # %k -> expected: ?0
936s # %k -> actual: ?0
936s # %k -> expected: 13
936s # %k -> actual: 13
936s # %l -> expected: 12
936s # %l -> actual: 12
936s # %I -> expected: 12
936s # %I -> actual: 12
936s # %l -> expected: ?1
936s # %l -> actual: ?1
936s # %l -> expected: 10
936s # %l -> actual: 10
936s # %m -> expected: 10
936s # %m -> actual: 10
936s # %M -> expected: 00
936s # %M -> actual: 00
936s # %p -> expected: ¸áÁ°
936s # %p -> actual: ¸áÁ°
936s # %p -> expected: ¸á¸å
936s # %p -> actual: ¸á¸å
936s # %P -> expected: ¸áÁ°
936s # %P -> actual: ¸áÁ°
936s # %P -> expected: ¸á¸å
936s # %P -> actual: ¸á¸å
936s # %r -> expected: ¸áÁ°12»þ00ʬ00ÉÃ
936s # %r -> actual: ¸áÁ°12»þ00ʬ00ÉÃ
936s # %r -> expected: ¸á¸å01»þ13ʬ13ÉÃ
936s # %r -> actual: ¸á¸å01»þ13ʬ13ÉÃ
936s # %R -> expected: 00:00
936s # %R -> actual: 00:00
936s # %R -> expected: 13:13
936s # %R -> actual: 13:13
936s # %S -> expected: 00
936s # %S -> actual: 00
936s # %t -> expected:
936s # %t -> actual:
936s # %u -> expected: 6
936s # %u -> actual: 6
936s # %x -> expected: 2009ǯ10·î24Æü
936s # %x -> actual: 2009ǯ10·î24Æü
936s # %X -> expected: 00»þ00ʬ00ÉÃ
936s # %X -> actual: 00»þ00ʬ00ÉÃ
936s # %X -> expected: 13»þ14ʬ15ÉÃ
936s # %X -> actual: 13»þ14ʬ15ÉÃ
936s # %y -> expected: 09
936s # %y -> actual: 09
936s # %Y -> expected: 2009
936s # %Y -> actual: 2009
936s # %% -> expected: %
936s # %% -> actual: %
936s # % -> expected:
936s # % -> actual:
936s # %9 -> expected: (null)
936s # %9 -> actual: (null)
936s # %Ec -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
936s # %Ec -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
936s # %EC -> expected: 20
936s # %EC -> actual: 20
936s # %Ex -> expected: 2009ǯ10·î24Æü
936s # %Ex -> actual: 2009ǯ10·î24Æü
936s # %EX -> expected: 00»þ00ʬ00ÉÃ
936s # %EX -> actual: 00»þ00ʬ00ÉÃ
936s # %Ey -> expected: 09
936s # %Ey -> actual: 09
936s # %EY -> expected: 2009
936s # %EY -> actual: 2009
936s ok 33 /GDateTime/non_utf8_printf
936s # ???? -> expected: ????
936s # ???? -> actual: ????
936s # %H?%M -> expected: 23?15
936s # %H?%M -> actual: 23?15
936s # %H?%M -> expected: 23?15
936s # %H?%M -> actual: 23?15
936s ok 34 /GDateTime/format_unrepresentable
936s ok 35 /GDateTime/format_iso8601
936s ok 36 /GDateTime/strftime
936s # %d -> expected: 01
936s # %d -> actual: 01
936s # %_d -> expected: 1
936s # %_d -> actual: 1
936s # %-d -> expected: 1
936s # %-d -> actual: 1
936s # %0d -> expected: 01
936s # %0d -> actual: 01
936s # %d -> expected: 21
936s # %d -> actual: 21
936s # %_d -> expected: 21
936s # %_d -> actual: 21
936s # %-d -> expected: 21
936s # %-d -> actual: 21
936s # %0d -> expected: 21
936s # %0d -> actual: 21
936s # %e -> expected:  1
936s # %e -> actual:  1
936s # %_e -> expected: 1
936s # %_e -> actual: 1
936s # %-e -> expected: 1
936s # %-e -> actual: 1
936s # %0e -> expected: 01
936s # %0e -> actual: 01
936s # %e -> expected: 21
936s # %e -> actual: 21
936s # %_e -> expected: 21
936s # %_e -> actual: 21
936s # %-e -> expected: 21
936s # %-e -> actual: 21
936s # %0e -> expected: 21
936s # %0e -> actual: 21
936s # %a -> expected: Thu
936s # %a -> actual: Thu
936s # %^a -> expected: THU
936s # %^a -> actual: THU
936s # %#a -> expected: THU
936s # %#a -> actual: THU
936s # %A -> expected: Thursday
936s # %A -> actual: Thursday
936s # %^A -> expected: THURSDAY
936s # %^A -> actual: THURSDAY
936s # %#A -> expected: THURSDAY
936s # %#A -> actual: THURSDAY
936s # %b -> expected: Jan
936s # %b -> actual: Jan
936s # %^b -> expected: JAN
936s # %^b -> actual: JAN
936s # %#b -> expected: JAN
936s # %#b -> actual: JAN
936s # %B -> expected: January
936s # %B -> actual: January
936s # %^B -> expected: JANUARY
936s # %^B -> actual: JANUARY
936s # %#B -> expected: JANUARY
936s # %#B -> actual: JANUARY
936s # %h -> expected: Jan
936s # %h -> actual: Jan
936s # %^h -> expected: JAN
936s # %^h -> actual: JAN
936s # %#h -> expected: JAN
936s # %#h -> actual: JAN
936s # %Z -> expected: UTC
936s # %Z -> actual: UTC
936s # %^Z -> expected: UTC
936s # %^Z -> actual: UTC
936s # %#Z -> expected: utc
936s # %#Z -> actual: utc
936s # %H -> expected: 01
936s # %H -> actual: 01
936s # %_H -> expected: 1
936s # %_H -> actual: 1
936s # %-H -> expected: 1
936s # %-H -> actual: 1
936s # %0H -> expected: 01
936s # %0H -> actual: 01
936s # %H -> expected: 21
936s # %H -> actual: 21
936s # %_H -> expected: 21
936s # %_H -> actual: 21
936s # %-H -> expected: 21
936s # %-H -> actual: 21
936s # %0H -> expected: 21
936s # %0H -> actual: 21
936s # %I -> expected: 01
936s # %I -> actual: 01
936s # %_I -> expected: 1
936s # %_I -> actual: 1
936s # %-I -> expected: 1
936s # %-I -> actual: 1
936s # %0I -> expected: 01
936s # %0I -> actual: 01
936s # %I -> expected: 11
936s # %I -> actual: 11
936s # %_I -> expected: 11
936s # %_I -> actual: 11
936s # %-I -> expected: 11
936s # %-I -> actual: 11
936s # %0I -> expected: 11
936s # %0I -> actual: 11
936s # %k -> expected:  1
936s # %k -> actual:  1
936s # %_k -> expected: 1
936s # %_k -> actual: 1
936s # %-k -> expected: 1
936s # %-k -> actual: 1
936s # %0k -> expected: 01
936s # %0k -> actual: 01
936s # %l -> expected:  1
936s # %l -> actual:  1
936s # %_l -> expected: 1
936s # %_l -> actual: 1
936s # %-l -> expected: 1
936s # %-l -> actual: 1
936s # %0l -> expected: 01
936s # %0l -> actual: 01
936s # %l -> expected: 11
936s # %l -> actual: 11
936s # %_l -> expected: 11
936s # %_l -> actual: 11
936s # %-l -> expected: 11
936s # %-l -> actual: 11
936s # %0l -> expected: 11
936s # %0l -> actual: 11
936s # %p -> expected: AM
936s # %p -> actual: AM
936s # %^p -> expected: AM
936s # %^p -> actual: AM
936s # %#p -> expected: am
936s # %#p -> actual: am
936s # %P -> expected: am
936s # %P -> actual: am
936s # %^P -> expected: AM
936s # %^P -> actual: AM
936s # %#P -> expected: am
936s # %#P -> actual: am
936s # %OH -> expected: Û²Û³
936s # %OH -> actual: Û²Û³
936s # %OI -> expected: Û±Û±
936s # %OI -> actual: Û±Û±
936s # %OM -> expected: Û°Û°
936s # %OM -> actual: Û°Û°
936s # %Om -> expected: Û°Û·
936s # %Om -> actual: Û°Û·
936s # %0Om -> expected: Û°Û·
936s # %0Om -> actual: Û°Û·
936s # %-Om -> expected: Û·
936s # %-Om -> actual: Û·
936s # %_Om -> expected: Û·
936s # %_Om -> actual: Û·
936s # %c -> expected: thu 01 jan 2009 00:00:00 utc
936s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC
936s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc
936s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC
936s # %C -> expected: 20
936s # %C -> actual: 20
936s # %EC -> expected: 20
936s # %EC -> actual: 20
936s # %x -> expected: 02/01/09
936s # %x -> actual: 02/01/09
936s # %Ex -> expected: 02/01/09
936s # %Ex -> actual: 02/01/09
936s # %X -> expected: 01:02:03
936s # %X -> actual: 01:02:03
936s # %EX -> expected: 01:02:03
936s # %EX -> actual: 01:02:03
936s # %y -> expected: 09
936s # %y -> actual: 09
936s # %Ey -> expected: 09
936s # %Ey -> actual: 09
936s # %Y -> expected: 2009
936s # %Y -> actual: 2009
936s # %EY -> expected: 2009
936s # %EY -> actual: 2009
936s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests
936s # Bug Reference: http://bugzilla.gnome.org/749206
936s # %B -> expected: January
936s # %B -> actual: January
936s # %OB -> expected: February
936s # %OB -> actual: February
936s # %b -> expected: Mar
936s # %b -> actual: Mar
936s # %Ob -> expected: Apr
936s # %Ob -> actual: Apr
936s # %h -> expected: May
936s # %h -> actual: May
936s # %Oh -> expected: Jun
936s # %Oh -> actual: Jun
936s # %B -> expected: Juli
936s # %B -> actual: Juli
936s # %OB -> expected: August
936s # %OB -> actual: August
936s # %b -> expected: Sep
936s # %b -> actual: Sep
936s # %Ob -> expected: Okt
936s # %Ob -> actual: Okt
936s # %h -> expected: Nov
936s # %h -> actual: Nov
936s # %Oh -> expected: Dez
936s # %Oh -> actual: Dez
936s # %B -> expected: enero
936s # %B -> actual: enero
936s # %OB -> expected: febrero
936s # %OB -> actual: febrero
936s # %b -> expected: mar
936s # %b -> actual: mar
936s # %Ob -> expected: abr
936s # %Ob -> actual: abr
936s # %h -> expected: may
936s # %h -> actual: may
936s # %Oh -> expected: jun
936s # %Oh -> actual: jun
936s # %B -> expected: juillet
936s # %B -> actual: juillet
936s # %OB -> expected: août
936s # %OB -> actual: août
936s # %b -> expected: sept.
936s # %b -> actual: sept.
936s # %Ob -> expected: oct.
936s # %Ob -> actual: oct.
936s # %h -> expected: nov.
936s # %h -> actual: nov.
936s # %Oh -> expected: déc.
936s # %Oh -> actual: déc.
936s # %B -> expected: ΙανουαÏίου
936s # %B -> actual: ΙανουαÏίου
936s # %B -> expected: ΦεβÏουαÏίου
936s # %B -> actual: ΦεβÏουαÏίου
936s # %B -> expected: ΜαÏτίου
936s # %B -> actual: ΜαÏτίου
936s # %OB -> expected: ΑπÏίλιος
936s # %OB -> actual: ΑπÏίλιος
936s # %OB -> expected: Μάιος
936s # %OB -> actual: Μάιος
936s # %OB -> expected: ΙοÏνιος
936s # %OB -> actual: ΙοÏνιος
936s # %b -> expected: Ιουλ
936s # %b -> actual: Ιουλ
936s # %Ob -> expected: ΑÏγ
936s # %Ob -> actual: ΑÏγ
936s # %B -> expected: svibnja
936s # %B -> actual: svibnja
936s # %B -> expected: lipnja
936s # %B -> actual: lipnja
936s # %B -> expected: srpnja
936s # %B -> actual: srpnja
936s # %OB -> expected: Kolovoz
936s # %OB -> actual: kolovoz
936s # %OB -> expected: Rujan
936s # %OB -> actual: rujan
936s # %OB -> expected: Listopad
936s # %OB -> actual: listopad
936s # %b -> expected: Stu
936s # %b -> actual: stu
936s # %Ob -> expected: Pro
936s # %Ob -> actual: pro
936s # %B -> expected: sausio
936s # %B -> actual: sausio
936s # %B -> expected: vasario
936s # %B -> actual: vasario
936s # %B -> expected: kovo
936s # %B -> actual: kovo
936s # %OB -> expected: balandis
936s # %OB -> actual: balandis
936s # %OB -> expected: gegužė
936s # %OB -> actual: gegužė
936s # %OB -> expected: birželis
936s # %OB -> actual: birželis
936s # %b -> expected: liep.
936s # %b -> actual: liep.
936s # %Ob -> expected: rugp.
936s # %Ob -> actual: rugp.
936s # %B -> expected: maja
936s # %B -> actual: maja
936s # %B -> expected: czerwca
936s # %B -> actual: czerwca
936s # %B -> expected: lipca
936s # %B -> actual: lipca
936s # %OB -> expected: sierpień
936s # %OB -> actual: sierpień
936s # %OB -> expected: wrzesień
936s # %OB -> actual: wrzesień
936s # %OB -> expected: październik
936s # %OB -> actual: październik
936s # %b -> expected: lis
936s # %b -> actual: lis
936s # %Ob -> expected: gru
936s # %Ob -> actual: gru
936s # %B -> expected: ÑнварÑ
936s # %B -> actual: ÑнварÑ
936s # %B -> expected: февралÑ
936s # %B -> actual: февралÑ
936s # %B -> expected: марта
936s # %B -> actual: марта
936s # %OB -> expected: Ðпрель
936s # %OB -> actual: Ðпрель
936s # %OB -> expected: Май
936s # %OB -> actual: Май
936s # %OB -> expected: Июнь
936s # %OB -> actual: Июнь
936s # %b -> expected: июл
936s # %b -> actual: июл
936s # %Ob -> expected: авг
936s # %Ob -> actual: авг
936s # %b -> expected: маÑ
936s # %b -> actual: маÑ
936s # %Ob -> expected: май
936s # %Ob -> actual: май
936s ok 38 /GDateTime/month_names
936s ok 39 /GDateTime/to_local
936s ok 40 /GDateTime/to_unix
936s ok 41 /GDateTime/to_timeval
936s ok 42 /GDateTime/to_utc
936s ok 43 /GDateTime/now_utc
936s ok 44 /GDateTime/dst
936s # Bug Reference: http://bugzilla.gnome.org/642935
936s ok 45 /GDateTime/test_z
937s # Executing: glib/gdatetime.test
937s ok 46 /GDateTime/test-all-dates
937s # slow test /GDateTime/test-all-dates executed in 1.32 secs
937s ok 47 /GDateTime/unix_usec
937s # Start of new_from_unix tests
937s # Bug Reference: http://bugzilla.gnome.org/782089
937s ok 48 /GDateTime/new_from_unix/overflow
937s # End of new_from_unix tests
937s # Start of new_from_timeval tests
937s # Bug Reference: http://bugzilla.gnome.org/782089
937s # Maximum supported GTimeVal.tv_sec = 253402300799
937s ok 49 /GDateTime/new_from_timeval/overflow
937s # End of new_from_timeval tests
937s # Start of new_from_iso8601 tests
937s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors.
937s ok - glib/gdatetime.test
937s # Running test: glib/bookmarkfile.test
937s # Vector 0: 1990-11-01T10:21:17Z
937s # Vector 1: 19901101T102117Z
937s # Vector 2: 1970-01-01T00:00:17.12Z
937s # Vector 3: 1970-01-01T00:00:17.1234Z
937s # Vector 4: 1970-01-01T00:00:17.123456Z
937s # Vector 5: 1980-02-22T12:36:00+02:00
937s # Vector 6: 1990-12-31T15:59:60-08:00
937s # Vector 7:
937s # Vector 8: x
937s # Vector 9: 123x
937s # Vector 10: 2001-10+x
937s # Vector 11: 1980-02-22T
937s # Vector 12: 2001-10-08Tx
937s # Vector 13: 2001-10-08T10:11x
937s # Vector 14: Wed Dec 19 17:20:20 GMT 2007
937s # Vector 15: 1980-02-22T10:36:00Zulu
937s # Vector 16: 2T0+819855292164632335
937s # Vector 17: 2018-08-03T14:08:05.446178377+01:00
937s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00
937s # Vector 19: 2018-13-03T14:08:05.446178377+01:00
937s # Vector 20: 2018-00-03T14:08:05.446178377+01:00
937s # Vector 21: 2018-08-00T14:08:05.446178377+01:00
937s # Vector 22: 2018-08-32T14:08:05.446178377+01:00
937s # Vector 23: 2018-08-03T24:08:05.446178377+01:00
937s # Vector 24: 2018-08-03T14:60:05.446178377+01:00
937s # Vector 25: 2018-08-03T14:08:63.446178377+01:00
937s # Vector 26: 2018-08-03T14:08:05.446178377+100:00
937s # Vector 27: 20180803T140805.446178377+0100
937s # Vector 28: 21474836480803T140805.446178377+0100
937s # Vector 29: 20181303T140805.446178377+0100
937s # Vector 30: 20180003T140805.446178377+0100
937s # Vector 31: 20180800T140805.446178377+0100
937s # Vector 32: 20180832T140805.446178377+0100
937s # Vector 33: 20180803T240805.446178377+0100
937s # Vector 34: 20180803T146005.446178377+0100
937s # Vector 35: 20180803T140863.446178377+0100
937s # Vector 36: 20180803T140805.446178377+10000
937s # Vector 37: -0005-01-01T00:00:00Z
937s # Vector 38: 2018-08-06
937s # Vector 39: 20180803T140805,446178377+0100
937s # Vector 40: 2018-08-03T14:08:05.446178377-01:00
937s # Vector 41: 2018-08-03T14:08:05.446178377 01:00
937s # Vector 42: 1990-11-01T10:21:17
937s # Vector 43: 1719W462 407777-07
937s # Vector 44: 4011090 260528Z
937s # Vector 45: 0000W011 228214-22
937s ok 50 /GDateTime/new_from_iso8601/2
937s # End of new_from_iso8601 tests
937s # Start of format_mixed tests
937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
937s # %b -> expected: mar
937s # %b -> actual: Mar
937s # %B -> expected: march
937s # %B -> actual: March
937s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages
937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
937s # %b -> expected: mar
937s # %b -> actual: Mar
937s # %B -> expected: march
937s # %B -> actual: March
937s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages
937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
937s # %b -> expected: Mär
937s # %b -> actual: Mär
937s # %B -> expected: März
937s # %B -> actual: März
937s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages
937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
937s # %b -> expected: Mär
937s # %b -> actual: Mär
937s # %B -> expected: März
937s # %B -> actual: März
937s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages
937s # End of format_mixed tests
937s # Start of strftime tests
937s # %r -> expected: (null)
937s # %r -> actual: (null)
937s ok 55 /GDateTime/strftime/error_handling
937s # End of strftime tests
937s # Start of eras tests
937s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests
937s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests
937s # Vector 0:
937s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey
937s # 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å¹´
937s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年
937s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年
937s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年
937s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年
937s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年
937s # Vector 8: +
937s # Vector 9: +:
937s # Vector 10: +::
937s # Vector 11: +:200
937s # Vector 12: +:2nonsense
937s # Vector 13: +:2nonsense:
937s # Vector 14: +:2:
937s # Vector 15: +:2::
937s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年
937s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年
937s # Vector 18: +:2:2020:+*:令和:%EC%Ey年
937s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年
937s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年
937s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年
937s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年
937s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年
937s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年
937s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年
937s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年
937s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年
937s # Vector 28: +:2:2020/01/01
937s # Vector 29: +:2:2020/01/01:
937s # Vector 30: +:2:2020/01/01::
937s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年
937s # Vector 32: +:2:2020/01/01:+*
937s # Vector 33: +:2:2020/01/01:+*:
937s # Vector 34: +:2:2020/01/01:+*::
937s # Vector 35: +:2:2020/01/01:+*:令和
937s # Vector 36: +:2:2020/01/01:+*:令和:
937s # Vector 37: +:2:2020/01/01:+*:令和:;
937s ok 58 /GDateTime/eras/parsing
937s # End of eras tests
937s # End of GDateTime tests
937s # Start of GTimeZone tests
937s ok 59 /GTimeZone/find-interval
937s ok 60 /GTimeZone/adjust-time
937s ok 61 /GTimeZone/no-header
937s ok 62 /GTimeZone/no-header-identifier
937s ok 63 /GTimeZone/posix-parse
937s # Bug Reference: http://bugzilla.gnome.org/697715
937s ok 64 /GTimeZone/floating-point
937s # System time zone identifier: Etc/UTC
937s ok 65 /GTimeZone/identifier
937s # Vector 0: -158400
937s # Vector 1: -10000
937s # Vector 2: -3600
937s # Vector 3: -61
937s # Vector 4: -60
937s # Vector 5: -59
937s # Vector 6: 0
937s # Vector 7: 59
937s # Vector 8: 60
937s # Vector 9: 61
937s # Vector 10: 3600
937s # Vector 11: 10000
937s # Vector 12: 158400
937s ok 66 /GTimeZone/new-offset
937s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format
937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129
937s ok 67 /GTimeZone/parse-rfc8536
937s # /GTimeZone/caching summary: GTimeZone instances are cached
937s ok 68 /GTimeZone/caching
937s # End of GTimeZone tests
937s TAP version 14
937s # random seed: R02Sdc0f30314acfb51c68799e2870f37618
937s 1..96
937s # Start of bookmarks tests
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/load-from-data-dirs/.dirs/runtime
937s ok 1 /bookmarks/load-from-data-dirs
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/to-file/.dirs/runtime
937s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_5QE952/bookmarkfile-test-E4F952.xbel
937s # Roundtrip from a valid bookmark file
937s ok 2 /bookmarks/to-file
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/move-item/.dirs/runtime
937s ok 3 /bookmarks/move-item
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/corner-cases/.dirs/runtime
937s ok 4 /bookmarks/corner-cases
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/misc/.dirs/runtime
937s ok 5 /bookmarks/misc
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/deprecated/.dirs/runtime
937s ok 6 /bookmarks/deprecated
937s # Start of parse tests
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-01.xbel/.dirs/runtime
937s ok 7 /bookmarks/parse/fail-01.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-39.xbel/.dirs/runtime
937s ok 8 /bookmarks/parse/fail-39.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-15.xbel/.dirs/runtime
937s ok 9 /bookmarks/parse/fail-15.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-03.xbel/.dirs/runtime
937s ok 10 /bookmarks/parse/valid-03.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-25.xbel/.dirs/runtime
937s ok 11 /bookmarks/parse/fail-25.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-21.xbel/.dirs/runtime
937s ok 12 /bookmarks/parse/fail-21.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-19.xbel/.dirs/runtime
937s ok 13 /bookmarks/parse/fail-19.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-31.xbel/.dirs/runtime
937s ok 14 /bookmarks/parse/fail-31.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-27.xbel/.dirs/runtime
937s ok 15 /bookmarks/parse/fail-27.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-08.xbel/.dirs/runtime
937s ok 16 /bookmarks/parse/fail-08.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-33.xbel/.dirs/runtime
937s ok 17 /bookmarks/parse/fail-33.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-02.xbel/.dirs/runtime
937s ok 18 /bookmarks/parse/valid-02.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-40.xbel/.dirs/runtime
937s ok 19 /bookmarks/parse/fail-40.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-02.xbel/.dirs/runtime
937s ok 20 /bookmarks/parse/fail-02.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-06.xbel/.dirs/runtime
937s ok 21 /bookmarks/parse/fail-06.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-42.xbel/.dirs/runtime
937s ok 22 /bookmarks/parse/fail-42.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-04.xbel/.dirs/runtime
937s ok 23 /bookmarks/parse/fail-04.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-09.xbel/.dirs/runtime
937s ok 24 /bookmarks/parse/fail-09.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/valid-01.xbel/.dirs/runtime
937s ok 25 /bookmarks/parse/valid-01.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-07.xbel/.dirs/runtime
937s ok 26 /bookmarks/parse/fail-07.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-26.xbel/.dirs/runtime
937s ok 27 /bookmarks/parse/fail-26.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-34.xbel/.dirs/runtime
937s ok 28 /bookmarks/parse/fail-34.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-13.xbel/.dirs/runtime
937s ok 29 /bookmarks/parse/fail-13.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-38.xbel/.dirs/runtime
937s ok 30 /bookmarks/parse/fail-38.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/home
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/cache
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/system-config2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/config
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/system-data2
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/data
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/state
937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-14.xbel/.dirs/runtime
937s ok 31 /bookmarks/parse/fail-14.xbel
937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-20.xbel/.dirs/runtime
938s ok 32 /bookmarks/parse/fail-20.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-12.xbel/.dirs/runtime
938s ok 33 /bookmarks/parse/fail-12.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-18.xbel/.dirs/runtime
938s ok 34 /bookmarks/parse/fail-18.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-41.xbel/.dirs/runtime
938s ok 35 /bookmarks/parse/fail-41.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-03.xbel/.dirs/runtime
938s ok 36 /bookmarks/parse/fail-03.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-32.xbel/.dirs/runtime
938s ok 37 /bookmarks/parse/fail-32.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-23.xbel/.dirs/runtime
938s ok 38 /bookmarks/parse/fail-23.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-35.xbel/.dirs/runtime
938s ok 39 /bookmarks/parse/fail-35.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-28.xbel/.dirs/runtime
938s ok 40 /bookmarks/parse/fail-28.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-37.xbel/.dirs/runtime
938s ok 41 /bookmarks/parse/fail-37.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-16.xbel/.dirs/runtime
938s ok 42 /bookmarks/parse/fail-16.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-10.xbel/.dirs/runtime
938s ok 43 /bookmarks/parse/fail-10.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-05.xbel/.dirs/runtime
938s ok 44 /bookmarks/parse/fail-05.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-17.xbel/.dirs/runtime
938s ok 45 /bookmarks/parse/fail-17.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-29.xbel/.dirs/runtime
938s ok 46 /bookmarks/parse/fail-29.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-22.xbel/.dirs/runtime
938s ok 47 /bookmarks/parse/fail-22.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-30.xbel/.dirs/runtime
938s ok 48 /bookmarks/parse/fail-30.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-11.xbel/.dirs/runtime
938s ok 49 /bookmarks/parse/fail-11.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-36.xbel/.dirs/runtime
938s ok 50 /bookmarks/parse/fail-36.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/parse/fail-24.xbel/.dirs/runtime
938s ok 51 /bookmarks/parse/fail-24.xbel
938s # End of parse tests
938s # Start of copy tests
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-01.xbel/.dirs/runtime
938s ok 52 /bookmarks/copy/fail-01.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-39.xbel/.dirs/runtime
938s ok 53 /bookmarks/copy/fail-39.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-15.xbel/.dirs/runtime
938s ok 54 /bookmarks/copy/fail-15.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-03.xbel/.dirs/runtime
938s ok 55 /bookmarks/copy/valid-03.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-25.xbel/.dirs/runtime
938s ok 56 /bookmarks/copy/fail-25.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-21.xbel/.dirs/runtime
938s ok 57 /bookmarks/copy/fail-21.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-19.xbel/.dirs/runtime
938s ok 58 /bookmarks/copy/fail-19.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-31.xbel/.dirs/runtime
938s ok 59 /bookmarks/copy/fail-31.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-27.xbel/.dirs/runtime
938s ok 60 /bookmarks/copy/fail-27.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-08.xbel/.dirs/runtime
938s ok 61 /bookmarks/copy/fail-08.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-33.xbel/.dirs/runtime
938s ok 62 /bookmarks/copy/fail-33.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-02.xbel/.dirs/runtime
938s ok 63 /bookmarks/copy/valid-02.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-40.xbel/.dirs/runtime
938s ok 64 /bookmarks/copy/fail-40.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-02.xbel/.dirs/runtime
938s ok 65 /bookmarks/copy/fail-02.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-06.xbel/.dirs/runtime
938s ok 66 /bookmarks/copy/fail-06.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-42.xbel/.dirs/runtime
938s ok 67 /bookmarks/copy/fail-42.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-04.xbel/.dirs/runtime
938s ok 68 /bookmarks/copy/fail-04.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-09.xbel/.dirs/runtime
938s ok 69 /bookmarks/copy/fail-09.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/valid-01.xbel/.dirs/runtime
938s ok 70 /bookmarks/copy/valid-01.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-07.xbel/.dirs/runtime
938s ok 71 /bookmarks/copy/fail-07.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-26.xbel/.dirs/runtime
938s ok 72 /bookmarks/copy/fail-26.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-34.xbel/.dirs/runtime
938s ok 73 /bookmarks/copy/fail-34.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-13.xbel/.dirs/runtime
938s ok 74 /bookmarks/copy/fail-13.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-38.xbel/.dirs/runtime
938s ok 75 /bookmarks/copy/fail-38.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-14.xbel/.dirs/runtime
938s ok 76 /bookmarks/copy/fail-14.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-20.xbel/.dirs/runtime
938s ok 77 /bookmarks/copy/fail-20.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-12.xbel/.dirs/runtime
938s ok 78 /bookmarks/copy/fail-12.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-18.xbel/.dirs/runtime
938s ok 79 /bookmarks/copy/fail-18.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-41.xbel/.dirs/runtime
938s ok 80 /bookmarks/copy/fail-41.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-03.xbel/.dirs/runtime
938s ok 81 /bookmarks/copy/fail-03.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-32.xbel/.dirs/runtime
938s ok 82 /bookmarks/copy/fail-32.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-23.xbel/.dirs/runtime
938s ok 83 /bookmarks/copy/fail-23.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-35.xbel/.dirs/runtime
938s ok 84 /bookmarks/copy/fail-35.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-28.xbel/.dirs/runtime
938s ok 85 /bookmarks/copy/fail-28.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-37.xbel/.dirs/runtime
938s ok 86 /bookmarks/copy/fail-37.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-16.xbel/.dirs/runtime
938s ok 87 /bookmarks/copy/fail-16.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-10.xbel/.dirs/runtime
938s ok 88 /bookmarks/copy/fail-10.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-05.xbel/.dirs/runtime
938s ok 89 /bookmarks/copy/fail-05.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-17.xbel/.dirs/runtime
938s ok 90 /bookmarks/copy/fail-17.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-29.xbel/.dirs/runtime
938s ok 91 /bookmarks/copy/fail-29.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-22.xbel/.dirs/runtime
938s ok 92 /bookmarks/copy/fail-22.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-30.xbel/.dirs/runtime
938s ok 93 /bookmarks/copy/fail-30.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-11.xbel/.dirs/runtime
938s ok 94 /bookmarks/copy/fail-11.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-36.xbel/.dirs/runtime
938s ok 95 /bookmarks/copy/fail-36.xbel
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5QE952/bookmarks/copy/fail-24.xbel/.dirs/runtime
938s ok 96 /bookmarks/copy/fail-24.xbel
938s # End of copy tests
938s # End of bookmarks tests
938s TAP version 14
938s # random seed: R02Sbaab66b46b7211346ce2e94dbc54e6b1
938s 1..1
938s # Start of gthash tests
938s ok 1 /gthash/build-retrieve
938s # End of gthash tests
938s ok - glib/bookmarkfile.test
938s # Running test: glib/gthash.test
938s ok - glib/gthash.test
938s # Running test: glib/memory-monitor-portal.test
938s TAP version 13
938s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available
938s 1..1
938s ok - glib/memory-monitor-portal.test
938s # Running test: glib/collate.test
938s TAP version 14
938s # random seed: R02S60a9418be16eb48e494a80d28853d0eb
938s 1..9
938s # Start of unicode tests
938s # Start of collate tests
938s ok 1 /unicode/collate/0
938s ok 2 /unicode/collate/1
938s ok 3 /unicode/collate/2
938s # End of collate tests
938s # Start of collate-key tests
938s ok 4 /unicode/collate-key/0
938s ok - glib/collate.test
938s ok 5 /unicode/collate-key/1
938s ok 6 /unicode/collate-key/2
938s # End of collate-key tests
938s # Start of collate-filename tests
938s ok 7 /unicode/collate-filename/0
938s ok 8 /unicode/collate-filename/1
938s ok 9 /unicode/collate-filename/2
938s # End of collate-filename tests
938s # End of unicode tests
938s # Running test: glib/gi-inspect-typelib.py.test
938s TAP version 13
938s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmp96g8nne5
938s # Running: ['/usr/bin/gi-inspect-typelib', '--help']
938s # Return code: 0
938s # Output:
938s # Usage:
938s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib
938s #
938s # Help Options:
938s # -h, --help Show help options
938s #
938s # Application Options:
938s # --typelib-version=VERSION Typelib version to inspect
938s # --print-shlibs List the shared libraries the typelib requires
938s # --print-typelibs List other typelibs the inspected typelib requires
938s # Error:
938s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpsqdfj2pq
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace']
938s # Return code: 1
938s # Output:
938s #
938s # Error:
938s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found
938s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpu99vhe15
938s # Running: ['/usr/bin/gi-inspect-typelib']
938s # Return code: 1
938s # Output:
938s #
938s # Error:
938s # Please specify exactly one namespace
938s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpjwccstld
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # shlib: libgobject-2.0.so.0
938s # shlib: libglib-2.0.so.0
938s # Error:
938s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpryz_fi3e
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s #
938s # Error:
938s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmp20fx1h90
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # shlib: libgobject-2.0.so.0
938s # shlib: libglib-2.0.so.0
938s # Error:
938s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpdhdgxzps
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # shlib: libgobject-2.0.so.0
938s # Error:
938s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpczy00t2t
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # typelib: GLib-2.0
938s # Error:
938s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpb55xkfls
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # shlib: libgobject-2.0.so.0
938s # typelib: GLib-2.0
938s # Error:
938s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpt_66p8q0
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # shlib: libgio-2.0.so.0
938s # Error:
938s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpxlp7qjc_
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # typelib: GObject-2.0
938s # typelib: GLib-2.0
938s # typelib: GModule-2.0
938s # Error:
938s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs
938s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
938s # tmpdir: /tmp/tmpgbeum4xy
938s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0']
938s # Return code: 0
938s # Output:
938s # shlib: libgio-2.0.so.0
938s # typelib: GObject-2.0
938s # typelib: GLib-2.0
938s # typelib: GModule-2.0
938s # Error:
938s 1..12
938s ok - glib/gi-inspect-typelib.py.test
938s # Running test: glib/gdbus-export.test
938s TAP version 14
938s # random seed: R02S9184e7c7d45850be12e27cbd508cd96e
938s 1..7
938s # Start of gdbus tests
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration/.dirs/runtime
938s ok 1 /gdbus/object-registration
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures/.dirs/runtime
938s ok 2 /gdbus/object-registration-with-closures
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3LYX52/gdbus/object-registration-with-closures2/.dirs/runtime
938s ok 3 /gdbus/object-registration-with-closures2
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3LYX52/gdbus/registered-interfaces/.dirs/runtime
938s ok 4 /gdbus/registered-interfaces
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3LYX52/gdbus/async-properties/.dirs/runtime
938s ok 5 /gdbus/async-properties
938s # Start of threaded-unregistration tests
938s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/home
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/cache
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/system-config2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/config
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/system-data2
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/data
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/state
938s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/object/.dirs/runtime
938s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
938s # /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
939s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test
939s # slow test /gdbus/threaded-unregistration/object executed in 0.78 secs
939s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/home
939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/cache
939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/system-config2
939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/config
939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/system-data2
939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/data
939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/state
939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3LYX52/gdbus/threaded-unregistration/subtree/.dirs/runtime
939s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
939s # /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
940s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test
940s # slow test /gdbus/threaded-unregistration/subtree executed in 1.02 secs
940s # End of threaded-unregistration tests
940s # End of gdbus tests
940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
940s ok - glib/gdbus-export.test
940s # Running test: glib/strfuncs.test
940s TAP version 14
940s # random seed: R02S671a3b18d84432e1c7e6cb8968db1a3e
940s 1..51
940s # Start of strfuncs tests
940s ok 1 /strfuncs/ascii-strcasecmp
940s ok 2 /strfuncs/ascii_strdown
940s ok 3 /strfuncs/ascii_strdup
940s ok 4 /strfuncs/ascii_strtod
940s ok 5 /strfuncs/bounds-check
940s ok 6 /strfuncs/has-prefix
940s ok 7 /strfuncs/has-prefix-macro
940s ok 8 /strfuncs/has-suffix
940s ok 9 /strfuncs/has-suffix-macro
940s ok 10 /strfuncs/memdup
940s ok 11 /strfuncs/memdup2
940s ok 12 /strfuncs/set_str
940s ok 13 /strfuncs/stpcpy
940s ok 14 /strfuncs/str_match_string
940s ok 15 /strfuncs/str_tokenize_and_fold
940s ok 16 /strfuncs/strcanon
940s ok 17 /strfuncs/strchomp
940s ok 18 /strfuncs/strchug
940s ok 19 /strfuncs/strcompress-strescape
940s ok 20 /strfuncs/strconcat
940s ok 21 /strfuncs/strdelimit
940s ok 22 /strfuncs/strdup
940s ok 23 /strfuncs/strdup-printf
940s ok 24 /strfuncs/strdupv
940s ok 25 /strfuncs/strerror
940s ok 26 /strfuncs/strip-context
940s ok 27 /strfuncs/strjoin
940s ok 28 /strfuncs/strjoinv
940s ok 29 /strfuncs/strlcat
940s ok 30 /strfuncs/strlcpy
940s ok 31 /strfuncs/strncasecmp
940s ok 32 /strfuncs/strndup
940s ok 33 /strfuncs/strnfill
940s ok 34 /strfuncs/strreverse
940s ok 35 /strfuncs/strsignal
940s ok 36 /strfuncs/strsplit
940s ok 37 /strfuncs/strsplit-set
940s ok 38 /strfuncs/strstr
940s ok 39 /strfuncs/strtod
940s ok 40 /strfuncs/strtoull-strtoll
940s ok 41 /strfuncs/strup
940s ok 42 /strfuncs/strv-contains
940s ok 43 /strfuncs/strv-equal
940s ok 44 /strfuncs/strv-length
940s ok 45 /strfuncs/test-is-to-digit
940s ok 46 /strfuncs/transliteration
940s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal()
940s ok 47 /strfuncs/str-equal
940s ok 48 /strfuncs/str-is-ascii
940s # Start of ascii-string-to-num tests
940s ok 49 /strfuncs/ascii-string-to-num/pathological
940s ok 50 /strfuncs/ascii-string-to-num/usual
940s # End of ascii-string-to-num tests
940s # Start of strdup tests
940s ok 51 /strfuncs/strdup/inline
940s # End of strdup tests
940s # End of strfuncs tests
940s TAP version 14
940s # random seed: R02S9ba864f278195a2a1cfad4060e6d94c9
940s 1..10
940s # Start of buffered-input-stream tests
940s ok 1 /buffered-input-stream/peek
940s ok 2 /buffered-input-stream/peek-buffer
940s ok 3 /buffered-input-stream/set-buffer-size
940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393
940s ok 4 /buffered-input-stream/read-byte
940s ok 5 /buffered-input-stream/read
940s ok 6 /buffered-input-stream/read-async
940s ok 7 /buffered-input-stream/skip
940s ok 8 /buffered-input-stream/skip-async
940s ok 9 /buffered-input-stream/seek
940s # End of buffered-input-stream tests
940s # Start of filter-input-stream tests
940s ok 10 /filter-input-stream/close
940s # End of filter-input-stream tests
940s ok - glib/strfuncs.test
940s # Running test: glib/buffered-input-stream.test
940s ok - glib/buffered-input-stream.test
940s # Running test: glib/gdbus-error.test
940s ok - glib/gdbus-error.test
940s # Running test: glib/volumemonitor.test
940s ok - glib/volumemonitor.test
940s # Running test: glib/types.test
940s TAP version 14
940s # random seed: R02S82d417e1db71e5860447cc94103fb8f4
940s 1..4
940s # Start of gdbus tests
940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/home
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/cache
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/system-config2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/config
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/system-data2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/data
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/state
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IO2Z52/gdbus/registered-errors/.dirs/runtime
940s ok 1 /gdbus/registered-errors
940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/home
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/cache
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/system-config2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/config
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/system-data2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/data
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/state
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IO2Z52/gdbus/unregistered-errors/.dirs/runtime
940s ok 2 /gdbus/unregistered-errors
940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/home
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/cache
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/system-config2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/config
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/system-data2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/data
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/state
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IO2Z52/gdbus/transparent-gerror/.dirs/runtime
940s ok 3 /gdbus/transparent-gerror
940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/home
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/cache
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/system-config2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/config
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/system-data2
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/data
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/state
940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IO2Z52/gdbus/register-error/.dirs/runtime
940s ok 4 /gdbus/register-error
940s # End of gdbus tests
940s TAP version 14
940s # random seed: R02S4f1d206c9b021c5e98ee7067ad798e8e
940s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
940s 1..3
940s # Start of volumemonitor tests
940s ok 1 /volumemonitor/connected_drives
940s ok 2 /volumemonitor/volumes
940s ok 3 /volumemonitor/mounts
940s # End of volumemonitor tests
940s TAP version 14
940s ok - glib/types.test
940s # Running test: glib/macros-c-17.test
940s ok - glib/macros-c-17.test
940s # Running test: glib/markup-collect.test
940s ok - glib/markup-collect.test
940s # Running test: glib/override.test
940s ok - glib/override.test
940s # Running test: glib/mappedfile.test
940s ok - glib/mappedfile.test
940s # Running test: glib/socket.test
940s # random seed: R02S792bd55614e5927dc1c50dc1fc113ade
940s 1..1
940s # Start of types tests
940s ok 1 /types/basic_types
940s # End of types tests
940s TAP version 14
940s # random seed: R02Sf6218b893ac108ec7818169f8d7115c4
940s 1..4
940s # Start of C tests
940s ok 1 /C/standard-17
940s # End of C tests
940s # Start of alignof tests
940s ok 2 /alignof/fallback
940s # End of alignof tests
940s # Start of assert tests
940s ok 3 /assert/static
940s # End of assert tests
940s # Start of struct tests
940s ok 4 /struct/sizeof_member
940s # End of struct tests
940s TAP version 14
940s # random seed: R02Sb682d201e5c83b32021912a7bc71afe4
940s 1..21
940s # Start of markup tests
940s # Start of collect tests
940s ok 1 /markup/collect/0
940s ok 2 /markup/collect/1
940s ok 3 /markup/collect/2
940s ok 4 /markup/collect/3
940s ok 5 /markup/collect/4
940s ok 6 /markup/collect/5
940s ok 7 /markup/collect/6
940s ok 8 /markup/collect/7
940s ok 9 /markup/collect/8
940s ok 10 /markup/collect/9
940s ok 11 /markup/collect/10
940s ok 12 /markup/collect/11
940s ok 13 /markup/collect/12
940s ok 14 /markup/collect/13
940s ok 15 /markup/collect/14
940s ok 16 /markup/collect/15
940s ok 17 /markup/collect/16
940s ok 18 /markup/collect/17
940s ok 19 /markup/collect/18
940s ok 20 /markup/collect/19
940s ok 21 /markup/collect/cleanup
940s # End of collect tests
940s # End of markup tests
940s TAP version 14
940s # random seed: R02S2415582624c44b8110073987a6545baa
940s 1..1
940s # Start of gobject tests
940s # *** emitting foo on a TestA instance
940s # Expecting: TestA::foo,TestI::foo
940s # Got: TestA::foo,TestI::foo
940s # *** emitting bar on a TestA instance
940s # Expecting: TestA::bar
940s # Got: TestA::bar
940s # *** emitting baz on a TestA instance
940s # Expecting: TestA::baz
940s # Got: TestA::baz
940s # *** emitting foo on a TestB instance
940s # Expecting: TestB::foo,TestA::foo,TestI::foo
940s # Got: TestB::foo,TestA::foo,TestI::foo
940s # *** emitting bar on a TestB instance
940s # Expecting: TestB::bar,TestA::bar
940s # Got: TestB::bar,TestA::bar
940s # *** emitting baz on a TestB instance
940s # Expecting: TestB::baz,TestA::baz
940s # Got: TestB::baz,TestA::baz
940s # *** emitting foo on a TestC instance
940s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo
940s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo
940s # *** emitting bar on a TestC instance
940s # Expecting: TestC::bar,TestB::bar,TestA::bar
940s # Got: TestC::bar,TestB::bar,TestA::bar
940s # *** emitting baz on a TestC instance
940s # Expecting: TestC::baz,TestB::baz,TestA::baz
940s # Got: TestC::baz,TestB::baz,TestA::baz
940s ok 1 /gobject/override
940s # End of gobject tests
940s TAP version 14
940s # random seed: R02S5087f616bd04c97a557ac30eb61509e9
940s 1..7
940s # Start of mappedfile tests
940s ok 1 /mappedfile/basic
940s ok 2 /mappedfile/empty
940s ok 3 /mappedfile/device
940s ok 4 /mappedfile/nonexisting
940s ok 5 /mappedfile/writable
940s ok 6 /mappedfile/writable_fd
940s ok 7 /mappedfile/gbytes
940s # End of mappedfile tests
940s TAP version 14
940s # random seed: R02Sa4f224df3d83fe71ae8fe3f2d9d2819c
940s 1..28
940s # Start of socket tests
941s ok 1 /socket/ipv4_sync
941s # slow test /socket/ipv4_sync executed in 1.02 secs
942s # Executing: glib/socket.test
942s ok 2 /socket/ipv4_async
942s # slow test /socket/ipv4_async executed in 1.00 secs
942s ok 3 /socket/ipv6_sync
942s ok 4 /socket/ipv6_async
942s ok 5 /socket/ipv6_v4mapped
943s ok 6 /socket/close_graceful
943s # slow test /socket/close_graceful executed in 1.00 secs
943s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
943s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
943s ok 8 /socket/fd_reuse
943s ok 9 /socket/address
943s ok 10 /socket/unix-from-fd
943s ok 11 /socket/unix-connection
943s ok 12 /socket/unix-connection-ancillary-data
943s ok 13 /socket/source-postmortem
943s ok 14 /socket/read_write
943s ok 15 /socket/read_writev
943s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
943s ok 16 /socket/receive_bytes
943s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
943s ok 17 /socket/receive_bytes_from
943s # Start of ipv4_sync tests
943s ok 18 /socket/ipv4_sync/datagram
943s # Start of datagram tests
944s ok 19 /socket/ipv4_sync/datagram/timeouts
944s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
944s # End of datagram tests
944s # End of ipv4_sync tests
944s # Start of ipv6_sync tests
944s ok 20 /socket/ipv6_sync/datagram
944s # Start of datagram tests
945s ok 21 /socket/ipv6_sync/datagram/timeouts
945s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
945s # End of datagram tests
945s # End of ipv6_sync tests
945s # Start of reuse tests
945s ok 22 /socket/reuse/tcp
945s ok 23 /socket/reuse/udp
945s # End of reuse tests
945s # Start of get_available tests
945s ok 24 /socket/get_available/datagram
945s ok 25 /socket/get_available/stream
945s # End of get_available tests
945s # Start of credentials tests
945s # Supported on this OS: GCredentials:linux-ucred:pid=0
945s ok 26 /socket/credentials/tcp_client
945s # Supported on this OS: GCredentials:linux-ucred:pid=0
945s ok 27 /socket/credentials/tcp_server
945s # Supported on this OS: GCredentials:linux-ucred:pid=14803,uid=1000,gid=1000
945s ok 28 /socket/credentials/unix_socketpair
945s # End of credentials tests
945s # End of socket tests
945s ok - glib/socket.test
945s # Running test: glib/unicode-encoding.test
945s TAP version 14
945s # random seed: R02Sa17e3219820159c960de8db6c984e310
945s 1..1
945s # Start of unicode tests
945s ok - glib/unicode-encoding.test
945s # Running test: glib/charset.test
945s ok - glib/charset.test
945s ok 1 /unicode/encoding
945s # End of unicode tests
945s TAP version 14
945s # random seed: R02Sdd8c4a6ffd8f5ff3d4067ae2bdaed447
945s 1..2
945s # Start of charset tests
945s # Test 0
945s # Test 1
945s # Test 2
945s # Test 3
945s ok 1 /charset/language_names_with_category
945s ok 2 /charset/language_names_with_category_async
945s # End of charset tests
945s # Running test: glib/module-test-library.test
945s TAP version 14
945s # random seed: R02S87565363288bbba29b59ca7c98e06e0c
945s 1..3
945s # Start of module tests
945s ok 1 /module/basics
945s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
945s ok 2 /module/invalid-libtool-archive
945s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
945s ok - glib/module-test-library.test
945s ok 3 /module/local-binding
945s # End of module tests
945s # Running test: glib/tls-interaction.test
945s TAP version 14
945s # random seed: R02S0342fef43223e3bb0a92761901ad7e99
945s 1..42
945s # Start of tls-interaction tests
945s # Start of ask-password tests
945s # Start of invoke-with-loop tests
945s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation
945s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success
945s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure
945s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success
945s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure
945s # End of invoke-with-loop tests
945s # Start of invoke-without-loop tests
945s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation
945s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success
945s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure
945s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success
945s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure
945s # End of invoke-without-loop tests
945s # Start of invoke-in-loop tests
945s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation
945s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success
945s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure
945s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success
945s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure
945s # End of invoke-in-loop tests
945s # Start of sync tests
945s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation
945s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success
945s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure
945s # End of sync tests
945s # Start of async tests
945s ok 19 /tls-interaction/ask-password/async/unhandled-implementation
945s ok 20 /tls-interaction/ask-password/async/async-implementation-success
945s ok 21 /tls-interaction/ask-password/async/async-implementation-failure
945s # End of async tests
945s # End of ask-password tests
945s # Start of request-certificate tests
945s # Start of invoke-with-loop tests
945s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation
945s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success
945s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure
945s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success
945s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure
945s # End of invoke-with-loop tests
945s # Start of invoke-without-loop tests
945s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation
945s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success
945s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure
945s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success
945s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure
945s # End of invoke-without-loop tests
945s # Start of invoke-in-loop tests
945s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation
945s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success
945s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure
945s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success
945s ok - glib/tls-interaction.test
945s # Running test: glib/completion.test
945s ok - glib/completion.test
945s # Running test: glib/guuid.test
945s ok - glib/guuid.test
945s # Running test: glib/queue.test
945s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure
945s # End of invoke-in-loop tests
945s # Start of sync tests
945s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation
945s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success
945s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure
945s # End of sync tests
945s # Start of async tests
945s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation
945s ok 41 /tls-interaction/request-certificate/async/async-implementation-success
945s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure
945s # End of async tests
945s # End of request-certificate tests
945s # End of tls-interaction tests
945s TAP version 14
945s # random seed: R02Sa6c69f2a6e44dc1e0b737c9773a5dda1
945s 1..1
945s # Start of completion tests
945s ok 1 /completion/test-completion
945s # End of completion tests
945s TAP version 14
945s # random seed: R02S535e531c110725f535b85cb33b4251bd
945s 1..2
945s # Start of uuid tests
945s ok 1 /uuid/string
945s ok 2 /uuid/random
945s # End of uuid tests
945s TAP version 14
945s # random seed: R02Sf6922032ab8b4415331da01e9e86e509
945s 1..12
945s # Start of queue tests
945s ok 1 /queue/basic
945s ok 2 /queue/copy
945s ok 3 /queue/off-by-one
945s ok 4 /queue/find-custom
945s ok 5 /queue/static
945s ok 6 /queue/clear
945s ok 7 /queue/free-full
945s ok 8 /queue/clear-full
945s ok 9 /queue/insert-sibling-link
945s ok 10 /queue/push-nth-link
945s # Start of clear-full tests
945s ok 11 /queue/clear-full/noop
945s # End of clear-full tests
945s # Start of random tests
945s ok - glib/queue.test
945s ok 12 /queue/random/seed:799472461
945s # End of random tests
945s # End of queue tests
945s # Running test: glib/cancellable.test
945s TAP version 14
945s # random seed: R02Sc43c55e276c0c81181a4cd47263cf641
945s 1..18
945s # Start of cancellable tests
945s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test
945s ok 2 /cancellable/null
945s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose
945s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
945s ok 4 /cancellable/connect-to-disposing-callback
945s ok 5 /cancellable/connect-cancelled-data-is-destroyed
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 1
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 0
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 1
945s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference
945s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
945s ok 7 /cancellable/connect-cancelled-to-disposing-callback
945s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 1
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 0
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 1
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 0
945s # Toggle reference callback for GCancellable (0x2aa26dd4cd0), last: 1
945s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference
945s # /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
946s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs
946s # /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
946s ok 11 /cancellable/resets-on-cancel-callback-hangs
946s ok 12 /cancellable/poll-fd
946s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation
946s ok 13 /cancellable/poll-fd-cancelled
946s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD
946s ok 14 /cancellable/poll-fd-cancelled-threaded
946s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable
946s ok 15 /cancellable/cancel-reset-races
946s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable
946s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly
946s # End of cancellable tests
946s # Start of cancellable-source tests
946s # /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)
946s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841
947s # Executing: glib/cancellable.test
947s ok 17 /cancellable-source/threaded-dispose
947s # slow test /cancellable-source/threaded-dispose executed in 1.53 secs
947s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times
947s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774
947s ok 18 /cancellable-source/can-be-fired-multiple-times
947s # End of cancellable-source tests
947s ok - glib/cancellable.test
947s # Running test: glib/gdbus-connection-slow.test
947s TAP version 14
947s # random seed: R02S05a3ec9e85e1586bfb6d88575e5e1a11
947s 1..2
947s # Start of gdbus tests
947s # Start of connection tests
947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/home
947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/cache
947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/system-config2
947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/config
947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/system-data2
947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/data
947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/state
947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/flush/.dirs/runtime
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s ok 1 /gdbus/connection/flush
948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/home
948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/cache
948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/system-config2
948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/config
948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/system-data2
948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/data
948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/state
948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_AGZA62/gdbus/connection/large_message/.dirs/runtime
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
948s ok 2 /gdbus/connection/large_message
948s # slow test /gdbus/connection/large_message executed in 0.64 secs
948s # End of connection tests
948s # End of gdbus tests
949s ok - glib/gdbus-connection-slow.test
949s # Running test: glib/gdbus-connection-flush.test
949s TAP version 14
949s # random seed: R02Sb4634488e29b74a2550b6873a388118d
949s 1..2
949s # Start of gdbus tests
949s # Start of connection tests
949s # Start of flush tests
949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/home
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/cache
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/system-config2
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/config
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/system-data2
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/data
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/state
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/busy/.dirs/runtime
949s ok 1 /gdbus/connection/flush/busy
949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/home
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/cache
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/system-config2
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/config
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/system-data2
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/data
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/state
949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_4BWT52/gdbus/connection/flush/idle/.dirs/runtime
949s ok 2 /gdbus/connection/flush/idle
949s # End of flush tests
949s # End of connection tests
949s # End of gdbus tests
949s ok - glib/gdbus-connection-flush.test
949s # Running test: glib/converter-stream.test
949s TAP version 14
949s # random seed: R02S937d4dc6c1bb214f5ec4e58263c06585
949s 1..17
949s # Start of converter tests
949s ok 1 /converter/basics
949s # End of converter tests
949s # Start of converter-input-stream tests
949s ok 2 /converter-input-stream/expander
949s ok 3 /converter-input-stream/compressor
949s # Start of truncation tests
949s ok 4 /converter-input-stream/truncation/zlib
949s ok 5 /converter-input-stream/truncation/gzip
950s ok 6 /converter-input-stream/truncation/raw
950s # slow test /converter-input-stream/truncation/raw executed in 1.19 secs
950s # End of truncation tests
950s # Start of charset tests
950s ok 7 /converter-input-stream/charset/utf8->latin1
950s ok 8 /converter-input-stream/charset/latin1->utf8
950s ok 9 /converter-input-stream/charset/fallbacks
950s # End of charset tests
950s # End of converter-input-stream tests
950s # Start of converter-output-stream tests
950s # Start of roundtrip tests
950s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
950s ok 10 /converter-output-stream/roundtrip/zlib-0
950s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
950s ok 11 /converter-output-stream/roundtrip/zlib-9
950s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
951s ok 12 /converter-output-stream/roundtrip/gzip-0
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
951s ok 13 /converter-output-stream/roundtrip/gzip-9
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
951s ok 14 /converter-output-stream/roundtrip/raw-0
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
951s ok 15 /converter-output-stream/roundtrip/raw-9
951s # End of roundtrip tests
951s # End of converter-output-stream tests
951s # Start of converter-stream tests
951s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
951s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa333a7720 and GSocketClientAsyncConnectData 0x2aa333a4520
951s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
951s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
951s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa32fb8bb0 for GSocketClientAsyncConnectData 0x2aa333a4520
951s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
951s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
951s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
951s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
951s ok - glib/converter-stream.test
951s # Running test: glib/basics-gobject.test
951s ok 16 /converter-stream/pollable
951s ok 17 /converter-stream/leftover
951s # End of converter-stream tests
951s TAP version 14
951s # random seed: R02Sa09372433da7f3c68d359f67fcb9246d
951s ok - glib/basics-gobject.test
951s # Running test: glib/dbus-appinfo.test
951s 1..1
951s # Start of gobject tests
951s # private data during initialization: 54321 == 54321
951s # MAIN: emit test-signal:
951s # ::test_signal default_handler called
951s # ::test_signal default_handler called
951s # ::test_signal default_handler called
951s # signal return: ""
951s # MAIN: call iface print-string on test and derived object:
951s # Iface-FOO: "iface-string-from-test-type" from 0x2aa1a86b250
951s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa1a860820
951s # chaining:
951s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa1a860820
951s # private data after initialization: 54321 == 54321
951s ok 1 /gobject/basics
951s # End of gobject tests
951s TAP version 14
951s # random seed: R02S3b8602c8e107395b2492e70aab4d37e7
951s 1..7
951s # Start of appinfo tests
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/runtime
951s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
951s ok 1 /appinfo/dbusappinfo
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/runtime
951s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
951s # Acquired a message bus connection
951s # Acquired the name org.freedesktop.portal.Documents
951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_D6F652/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/config
951s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop'
951s # fake-document-portal cancelled
951s ok 2 /appinfo/flatpak-doc-export
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/runtime
951s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
951s # Acquired a message bus connection
951s # Acquired the name org.freedesktop.portal.Documents
951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/config
951s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop'
951s # fake-document-portal cancelled
951s ok 3 /appinfo/flatpak-missing-doc-export
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/runtime
951s # Acquired a message bus connection
951s # Acquired the name org.freedesktop.portal.Desktop
951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_D6F652/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/config
951s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
951s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t
951s # Response emitted
951s # fake-desktop-portal cancelled
951s ok 4 /appinfo/portal-open-file
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/runtime
951s # Acquired a message bus connection
951s # Acquired the name org.freedesktop.portal.Desktop
951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/config
951s # Got open file request for http://example.com
951s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t
951s # Response emitted
951s # fake-desktop-portal cancelled
951s ok 5 /appinfo/portal-open-uri
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/runtime
951s # Acquired a message bus connection
951s # Acquired the name org.freedesktop.portal.Desktop
951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/config
951s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
951s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1976170672
951s # Response emitted
951s # fake-desktop-portal cancelled
951s ok 6 /appinfo/portal-open-file-async
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/runtime
951s # Acquired a message bus connection
951s # Acquired the name org.freedesktop.portal.Desktop
951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_D6F652/appinfo/portal-open-uri-async/.dirs/config
951s # Got open file request for http://example.com
951s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio81016174
951s # Response emitted
951s # fake-desktop-portal cancelled
951s ok 7 /appinfo/portal-open-uri-async
951s # End of appinfo tests
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s ok - glib/dbus-appinfo.test
951s # Running test: glib/string.test
951s TAP version 14
951s # random seed: R02Saa152a308967f29ba0b5362fca7a01bf
951s ok - glib/string.test
951s 1..23
951s # Start of string tests
951s ok 1 /string/test-string-chunks
951s ok 2 /string/test-string-chunk-insert
951s ok 3 /string/test-string-new
951s ok 4 /string/test-string-printf
951s ok 5 /string/test-string-assign
951s ok 6 /string/test-string-append-c
951s ok 7 /string/test-string-append
951s ok 8 /string/test-string-append-vprintf
951s ok 9 /string/test-string-prepend-c
951s ok 10 /string/test-string-prepend
951s ok 11 /string/test-string-insert
951s ok 12 /string/test-string-insert-unichar
951s ok 13 /string/test-string-equal
951s ok 14 /string/test-string-truncate
951s ok 15 /string/test-string-overwrite
951s ok 16 /string/test-string-nul-handling
951s ok 17 /string/test-string-up-down
951s ok 18 /string/test-string-set-size
951s ok 19 /string/test-string-to-bytes
951s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz"
951s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz"
951s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz"
951s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz"
951s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz"
951s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz"
951s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa"
951s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl"
951s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so"
951s # -> 1 replacements, "/usr/lib32/libMangoHud.so"
951s # 5: Replacing "o" with "" (limit 0) in "food for foals"
951s # -> 4 replacements, "fd fr fals"
951s # 6: Replacing "a" with "aaa" (limit 0) in "aaa"
951s # -> 3 replacements, "aaaaaaaaa"
951s # 7: Replacing "a" with "" (limit 0) in "aaa"
951s # -> 3 replacements, ""
951s # 8: Replacing "aa" with "bb" (limit 0) in "aaa"
951s # -> 1 replacements, "bba"
951s # 9: Replacing "" with "bar" (limit 0) in "foo"
951s # -> 4 replacements, "barfbarobarobar"
951s # 10: Replacing "" with "bar" (limit 1) in "foo"
951s # -> 1 replacements, "barfoo"
951s # 11: Replacing "" with "bar" (limit 2) in "foo"
951s # -> 2 replacements, "barfbaroo"
951s # 12: Replacing "" with "bar" (limit 3) in "foo"
951s # -> 3 replacements, "barfbarobaro"
951s # 13: Replacing "" with "bar" (limit 4) in "foo"
951s # -> 4 replacements, "barfbarobarobar"
951s # 14: Replacing "" with "bar" (limit 5) in "foo"
951s # -> 4 replacements, "barfbarobarobar"
951s # 15: Replacing "" with "x" (limit 0) in ""
951s # -> 1 replacements, "x"
951s # 16: Replacing "" with "" (limit 0) in ""
951s # -> 1 replacements, ""
951s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb"
951s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa"
951s ok 20 /string/test-string-replace
951s ok 21 /string/test-string-steal
951s ok 22 /string/test-string-new-take
951s # Start of test-string-new-take tests
951s ok 23 /string/test-string-new-take/null
951s # End of test-string-new-take tests
951s # End of string tests
951s # Running test: glib/base64.test
951s TAP version 14
951s # random seed: R02Sd5786fc45476613a041864036fe572a2
951s 1..28
951s # Start of base64 tests
951s ok 1 /base64/encode
951s ok 2 /base64/decode
951s ok 3 /base64/decode-inplace
951s ok 4 /base64/encode-decode
951s # Start of full tests
951s ok 5 /base64/full/1
951s ok 6 /base64/full/2
951s ok - glib/base64.test
951s ok 7 /base64/full/3
951s ok 8 /base64/full/4
951s # End of full tests
951s # Start of encode tests
951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
951s ok 9 /base64/encode/empty
951s # Start of incremental tests
951s # Start of small-block tests
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
951s ok 10 /base64/encode/incremental/small-block/1
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
951s ok 11 /base64/encode/incremental/small-block/2
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
951s ok 12 /base64/encode/incremental/small-block/3
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
951s ok 13 /base64/encode/incremental/small-block/4
951s # End of small-block tests
951s # End of incremental tests
951s # End of encode tests
951s # Start of incremental tests
951s # Start of nobreak tests
951s ok 14 /base64/incremental/nobreak/1
951s ok 15 /base64/incremental/nobreak/2
951s ok 16 /base64/incremental/nobreak/3
951s ok 17 /base64/incremental/nobreak/4-a
951s ok 18 /base64/incremental/nobreak/4-b
951s ok 19 /base64/incremental/nobreak/4-c
951s # End of nobreak tests
951s # Start of break tests
951s ok 20 /base64/incremental/break/1
951s ok 21 /base64/incremental/break/2
951s ok 22 /base64/incremental/break/3
951s # End of break tests
951s # Start of smallblock tests
951s ok 23 /base64/incremental/smallblock/1
951s ok 24 /base64/incremental/smallblock/2
951s ok 25 /base64/incremental/smallblock/3
951s ok 26 /base64/incremental/smallblock/4
951s # End of smallblock tests
951s # End of incremental tests
951s # Start of decode tests
951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
951s ok 27 /base64/decode/empty
951s # End of decode tests
951s # Start of encode-decode tests
951s # Vector 0:
951s # Vector 1: f
951s # Vector 2: fo
951s # Vector 3: foo
951s # Vector 4: foob
951s # Vector 5: fooba
951s # Vector 6: foobar
951s ok 28 /base64/encode-decode/rfc4648
951s # End of encode-decode tests
951s # End of base64 tests
951s # Running test: glib/gdbus-test-codegen-old.test
951s TAP version 14
951s # random seed: R02S1cb5a5e235c5661b487e10b9c85b2e06
951s 1..8
951s # Start of gdbus tests
951s # Start of codegen tests
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/annotations/.dirs/runtime
951s ok 1 /gdbus/codegen/annotations
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/interface_stability/.dirs/runtime
951s ok 2 /gdbus/codegen/interface_stability
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/object-manager/.dirs/runtime
951s ok 3 /gdbus/codegen/object-manager
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/property-naming/.dirs/runtime
951s ok 4 /gdbus/codegen/property-naming
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/autocleanups/.dirs/runtime
951s ok 5 /gdbus/codegen/autocleanups
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/deprecations/.dirs/runtime
951s ok 6 /gdbus/codegen/deprecations
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/standalone-interface-info/.dirs/runtime
951s ok 7 /gdbus/codegen/standalone-interface-info
951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/home
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/cache
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/system-config2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/config
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/system-data2
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/data
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/state
951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RRV352/gdbus/codegen/unix-fd-list/.dirs/runtime
951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
951s ok 8 /gdbus/codegen/unix-fd-list
951s # End of codegen tests
951s # End of gdbus tests
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
951s ok - glib/gdbus-test-codegen-old.test
951s # Running test: glib/binding.test
951s TAP version 14
951s # random seed: R02S47a95641a009d42902f49398373bebb0
951s 1..19
951s # Start of binding tests
951s ok 1 /binding/default
951s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work
951s ok 2 /binding/canonicalisation
951s ok 3 /binding/bidirectional
951s ok 4 /binding/transform
951s ok 5 /binding/transform-default
951s ok 6 /binding/transform-closure
951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782
951s ok 7 /binding/chain
951s ok 8 /binding/sync-create
951s ok 9 /binding/invert-boolean
951s ok 10 /binding/same-object
951s ok 11 /binding/unbind
951s ok 12 /binding/unbind-weak
951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373
951s ok 13 /binding/unbind-multiple
951s ok 14 /binding/fail
951s ok 15 /binding/interface
951s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly
951s ok 16 /binding/concurrent-unbind
951s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly
951s ok 17 /binding/concurrent-finalizing
951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
951s ok 18 /binding/dispose-source
951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
951s ok 19 /binding/dispose-target
951s # End of binding tests
951s ok - glib/binding.test
951s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=148.6s; system=46.3s; maxrss=175536
952s autopkgtest [18:52:57]: test installed-tests: -----------------------]
952s autopkgtest [18:52:57]: test installed-tests: - - - - - - - - - - results - - - - - - - - - -
952s installed-tests PASS
953s autopkgtest [18:52:58]: test closure-refcount: preparing testbed
953s Reading package lists...
953s Building dependency tree...
953s Reading state information...
953s Starting pkgProblemResolver with broken count: 0
953s Starting 2 pkgProblemResolver with broken count: 0
953s Done
953s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
954s autopkgtest [18:52:59]: test closure-refcount: [-----------------------
954s Running test: glib/closure-refcount.test
954s TAP version 14
954s # random seed: R02Se94b679734cfddb109f338b6a52a0990
954s 1..1
954s # Start of closure tests
954s # Init 0x2aa29cf7d40
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from thread1
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from thread1
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from thread1
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread2
954s # Yielding from main thread
954s # Yielding from thread1
954s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from main thread
955s # Yielding from thread2
955s # Yielding from thread1
955s # Yielding from main thread
955s # Yielding from main thread
955s # Yielding from thread1
956s # Yielding from main thread
956s # Yielding from thread1
956s # Yielding from thread2
956s # Yielding from main thread
956s # Yielding from main thread
956s # Yielding from thread1
956s # Yielding from main thread
956s # Yielding from thread2
956s # Yielding from main thread
956s # Yielding from main thread
956s # Stopping
956s # Stopped
956s ok 1 /closure/refcount
956s # slow test /closure/refcount executed in 1.68 secs
956s # End of closure tests
956s PASS: glib/closure-refcount.test
956s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.3s; system=0.0s; maxrss=3664
956s autopkgtest [18:53:01]: test closure-refcount: -----------------------]
956s autopkgtest [18:53:01]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - -
956s closure-refcount PASS
957s autopkgtest [18:53:02]: test debugcontroller: preparing testbed
957s Reading package lists...
957s Building dependency tree...
957s Reading state information...
957s Starting pkgProblemResolver with broken count: 0
957s Starting 2 pkgProblemResolver with broken count: 0
957s Done
957s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
958s autopkgtest [18:53:03]: test debugcontroller: [-----------------------
958s Running test: glib/debugcontroller.test
958s TAP version 14
958s # random seed: R02S19303d7d21839358443f656e98f3cb15
958s 1..3
958s # Start of debug-controller tests
958s # Start of dbus tests
958s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
958s # GLib-GIO-DEBUG: Debug output enabled
958s # GLib-GIO-DEBUG: Debug output disabled
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s ok 1 /debug-controller/dbus/basic
958s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s ok 2 /debug-controller/dbus/duplicate
958s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
958s # GLib-GIO-DEBUG: Debug output enabled
958s # GLib-GIO-DEBUG: Debug output disabled
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
958s ok 3 /debug-controller/dbus/properties
958s # End of dbus tests
958s # End of debug-controller tests
958s PASS: glib/debugcontroller.test
958s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6400
958s autopkgtest [18:53:03]: test debugcontroller: -----------------------]
959s autopkgtest [18:53:04]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - -
959s debugcontroller PASS
959s autopkgtest [18:53:04]: test gdbus-server-auth: preparing testbed
959s Reading package lists...
959s Building dependency tree...
959s Reading state information...
959s Starting pkgProblemResolver with broken count: 0
959s Starting 2 pkgProblemResolver with broken count: 0
959s Done
959s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
960s autopkgtest [18:53:05]: test gdbus-server-auth: [-----------------------
960s Running test: glib/gdbus-server-auth.test
960s TAP version 14
960s # random seed: R02S3e44363f809ec7d0ac37e36af8675dda
960s 1..9
960s # Start of gdbus tests
960s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/home
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/cache
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/system-config2
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/config
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/system-data2
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/data
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/state
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/.dirs/runtime
960s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-GWC252 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
960s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-GWC252/dbus-xgUJGK1y
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16252
960s ok 1 /gdbus/server-auth
960s # Start of server-auth tests
960s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/home
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/cache
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/system-config2
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/config
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/system-data2
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/data
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/state
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/abstract/.dirs/runtime
960s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-UJV152 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
960s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-UJV152/dbus-yaP5SaH8
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16252
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
960s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16252
960s ok 2 /gdbus/server-auth/abstract
960s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/home
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/cache
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/system-config2
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/config
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/system-data2
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/data
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/state
960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/tcp/.dirs/runtime
960s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
960s # Connectable address: tcp:host=127.0.0.1,port=36983
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
960s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
960s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
960s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
960s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
960s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
960s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
961s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
961s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
961s ok 3 /gdbus/server-auth/tcp
961s # slow test /gdbus/server-auth/tcp executed in 1.07 secs
961s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/home
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/cache
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/system-config2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/config
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/system-data2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/data
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/state
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/.dirs/runtime
961s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-9SD352 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
961s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-9SD352/dbus-TSdVEWBO
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16252
961s ok 4 /gdbus/server-auth/anonymous
961s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/home
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/cache
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/system-config2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/config
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/system-data2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/data
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/state
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/.dirs/runtime
961s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-7BB452 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
961s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-7BB452/dbus-kKjxCsr8
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
961s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16252
961s ok 5 /gdbus/server-auth/external
961s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/home
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/cache
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/system-config2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/config
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/system-data2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/data
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/state
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/.dirs/runtime
961s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-TDI452 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
961s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-TDI452/dbus-32GJ8ciP
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16252
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
961s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16252
961s ok 6 /gdbus/server-auth/sha1
961s # Start of anonymous tests
961s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/home
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/cache
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/config
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/data
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/state
961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/anonymous/tcp/.dirs/runtime
961s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
961s # Connectable address: tcp:host=127.0.0.1,port=35307
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
961s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
961s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
961s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
961s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
961s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
962s ok 7 /gdbus/server-auth/anonymous/tcp
962s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.01 secs
962s # End of anonymous tests
962s # Start of external tests
962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/home
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/cache
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/system-config2
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/config
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/system-data2
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/data
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/state
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/external/require-same-user/.dirs/runtime
962s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-3ZIA62 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
962s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RNC252/gdbus-server-auth-3ZIA62/dbus-bEEM5n7E
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16252
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
962s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16252,uid=1000,gid=1000
962s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16252
962s ok 8 /gdbus/server-auth/external/require-same-user
962s # End of external tests
962s # Start of sha1 tests
962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/home
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/cache
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/system-config2
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/config
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/system-data2
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/data
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/state
962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RNC252/gdbus/server-auth/sha1/tcp/.dirs/runtime
962s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
962s # Connectable address: tcp:host=127.0.0.1,port=33369
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
962s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
962s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
962s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
962s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
962s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
963s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
963s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
963s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
963s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
963s ok 9 /gdbus/server-auth/sha1/tcp
963s # slow test /gdbus/server-auth/sha1/tcp executed in 0.99 secs
963s # End of sha1 tests
963s # End of server-auth tests
963s # End of gdbus tests
963s PASS: glib/gdbus-server-auth.test
963s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8448
964s autopkgtest [18:53:09]: test gdbus-server-auth: -----------------------]
964s autopkgtest [18:53:09]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - -
964s gdbus-server-auth PASS
964s autopkgtest [18:53:09]: test gdbus-threading: preparing testbed
964s Reading package lists...
964s Building dependency tree...
964s Reading state information...
965s Starting pkgProblemResolver with broken count: 0
965s Starting 2 pkgProblemResolver with broken count: 0
965s Done
965s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
965s autopkgtest [18:53:10]: test gdbus-threading: [-----------------------
966s Running test: glib/gdbus-threading.test
966s TAP version 14
966s # random seed: R02S3461e3e4af2d77d45b8264535c6f2666
966s 1..3
966s # Start of gdbus tests
966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/home
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/cache
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/system-config2
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/config
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/system-data2
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/data
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/state
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PXAU52/gdbus/delivery-in-thread/.dirs/runtime
966s ok 1 /gdbus/delivery-in-thread
966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/home
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/cache
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/system-config2
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/config
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/system-data2
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/data
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/state
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PXAU52/gdbus/method-calls-in-thread/.dirs/runtime
966s # GLib-GIO-DEBUG: refcount of 0x2aa180607a0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping
966s ok 2 /gdbus/method-calls-in-thread
966s # slow test /gdbus/method-calls-in-thread executed in 0.81 secs
966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/home
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/cache
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/system-config2
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/config
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/system-data2
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/data
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/state
966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PXAU52/gdbus/threaded-singleton/.dirs/runtime
967s # GLib-GIO-DEBUG: refcount of 0x3ff9c000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
967s ok 3 /gdbus/threaded-singleton
967s # End of gdbus tests
967s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
967s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
967s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
967s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
967s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
967s PASS: glib/gdbus-threading.test
967s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=6296
967s autopkgtest [18:53:12]: test gdbus-threading: -----------------------]
967s autopkgtest [18:53:12]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - -
967s gdbus-threading PASS
968s autopkgtest [18:53:13]: test gmenumodel: preparing testbed
968s Reading package lists...
968s Building dependency tree...
968s Reading state information...
968s Starting pkgProblemResolver with broken count: 0
968s Starting 2 pkgProblemResolver with broken count: 0
968s Done
968s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
969s autopkgtest [18:53:14]: test gmenumodel: [-----------------------
969s Running test: glib/gmenumodel.test
969s TAP version 14
969s # random seed: R02S6720b3e004d55da87ffeb72a92025e4a
969s 1..15
969s # Start of gmenu tests
970s ok 1 /gmenu/equality
970s # slow test /gmenu/equality executed in 0.54 secs
970s ok 2 /gmenu/random
970s # slow test /gmenu/random executed in 0.66 secs
970s ok 3 /gmenu/attributes
970s ok 4 /gmenu/links
970s ok 5 /gmenu/mutable
970s ok 6 /gmenu/convenience
970s ok 7 /gmenu/menuitem
970s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
970s ok 8 /gmenu/input-validation
970s # Start of dbus tests
971s ok 9 /gmenu/dbus/roundtrip
971s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
972s ok 10 /gmenu/dbus/subscriptions
972s ok 11 /gmenu/dbus/threaded
972s # slow test /gmenu/dbus/threaded executed in 0.65 secs
972s # Start of peer tests
973s ok 12 /gmenu/dbus/peer/roundtrip
973s # slow test /gmenu/dbus/peer/roundtrip executed in 1.08 secs
974s ok 13 /gmenu/dbus/peer/subscriptions
974s # End of peer tests
974s # Start of export tests
974s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
974s ok 14 /gmenu/dbus/export/error-handling
974s # End of export tests
974s # End of dbus tests
974s # Start of attributes tests
974s ok 15 /gmenu/attributes/iterate
974s # End of attributes tests
974s # End of gmenu tests
974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
974s PASS: glib/gmenumodel.test
974s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.2s; system=0.1s; maxrss=58300
974s autopkgtest [18:53:19]: test gmenumodel: -----------------------]
975s gmenumodel PASS
975s autopkgtest [18:53:20]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - -
975s autopkgtest [18:53:20]: test mainloop: preparing testbed
975s Reading package lists...
975s Building dependency tree...
975s Reading state information...
975s Starting pkgProblemResolver with broken count: 0
975s Starting 2 pkgProblemResolver with broken count: 0
975s Done
975s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
976s autopkgtest [18:53:21]: test mainloop: [-----------------------
976s Running test: glib/mainloop.test
976s TAP version 14
976s # random seed: R02Saf5b30c85706d9ecdeedc7355d46df1b
976s 1..45
976s # Start of maincontext tests
976s ok 1 /maincontext/basic
976s # Add same-priority sources: 12
976s # Find each source: 0
976s # Remove in random order: 8
976s ok 2 /maincontext/nsources_same_priority
976s # Add different-priority sources: 13
976s # Find each source: 1
976s # Remove in random order: 13
976s ok 3 /maincontext/nsources_different_priority
976s # Add sources from threads: 29
976s # Remove sources from threads: 13
976s ok 4 /maincontext/nsources_threadpool
976s ok 5 /maincontext/source_finalization
976s # /maincontext/idle-once summary: Test g_idle_add_once() works
976s ok 6 /maincontext/idle-once
976s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
976s ok 7 /maincontext/timeout-once
976s # Start of source_finalization_from_source tests
976s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 8 /maincontext/source_finalization_from_source/0
976s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 9 /maincontext/source_finalization_from_source/1
976s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 10 /maincontext/source_finalization_from_source/2
976s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 11 /maincontext/source_finalization_from_source/3
976s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 12 /maincontext/source_finalization_from_source/4
976s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 13 /maincontext/source_finalization_from_source/5
976s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 14 /maincontext/source_finalization_from_source/6
976s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 15 /maincontext/source_finalization_from_source/7
976s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 16 /maincontext/source_finalization_from_source/8
976s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
976s ok 17 /maincontext/source_finalization_from_source/9
976s # End of source_finalization_from_source tests
976s # Start of source_finalization_from_dispatch tests
976s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
976s ok 18 /maincontext/source_finalization_from_dispatch/0
976s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
976s ok 19 /maincontext/source_finalization_from_dispatch/1
976s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
976s ok 20 /maincontext/source_finalization_from_dispatch/2
976s # End of source_finalization_from_dispatch tests
976s # End of maincontext tests
976s # Start of mainloop tests
976s ok 21 /mainloop/basic
976s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
976s ok 23 /mainloop/priorities
977s ok 24 /mainloop/invoke
977s # slow test /mainloop/invoke executed in 0.50 secs
978s ok 25 /mainloop/child_sources
978s # slow test /mainloop/child_sources executed in 1.19 secs
980s ok 26 /mainloop/recursive_child_sources
980s # slow test /mainloop/recursive_child_sources executed in 2.18 secs
980s ok 27 /mainloop/recursive_loop_child_sources
980s ok 28 /mainloop/swapping_child_sources
980s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
980s ok 29 /mainloop/blocked_child_sources
981s ok 30 /mainloop/source_time
981s # slow test /mainloop/source_time executed in 1.00 secs
981s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
981s ok 31 /mainloop/overflow
982s Executing: glib/mainloop.test
982s ok 32 /mainloop/ready-time
982s # slow test /mainloop/ready-time executed in 0.50 secs
982s ok 33 /mainloop/wakeup
982s ok 34 /mainloop/remove-invalid
982s ok 35 /mainloop/unref-while-pending
982s ok 36 /mainloop/unix-fd
982s # slow test /mainloop/unix-fd executed in 0.69 secs
982s ok 37 /mainloop/unix-fd-source
982s ok 38 /mainloop/source-unix-fd-api
983s ok 39 /mainloop/wait
983s ok 40 /mainloop/unix-file-poll
983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
983s ok 41 /mainloop/unix-fd-priority
983s ok 42 /mainloop/nfds
983s ok 43 /mainloop/steal-fd
983s # Start of ownerless-polling tests
983s ok 44 /mainloop/ownerless-polling/attach-first
983s ok 45 /mainloop/ownerless-polling/pop-first
983s # End of ownerless-polling tests
983s # End of mainloop tests
983s PASS: glib/mainloop.test
983s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=15628
983s autopkgtest [18:53:28]: test mainloop: -----------------------]
984s mainloop PASS
984s autopkgtest [18:53:29]: test mainloop: - - - - - - - - - - results - - - - - - - - - -
984s autopkgtest [18:53:29]: test memory-monitor-dbus: preparing testbed
984s Reading package lists...
984s Building dependency tree...
984s Reading state information...
985s Starting pkgProblemResolver with broken count: 0
985s Starting 2 pkgProblemResolver with broken count: 0
985s Done
986s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
987s autopkgtest [18:53:32]: test memory-monitor-dbus: [-----------------------
988s Running test: glib/memory-monitor-dbus.test
988s TAP version 13
988s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal
988s # Received memory warning signal, level
988s # Received memory warning signal, level
988s # Received memory warning signal, level
988s 1..1
988s PASS: glib/memory-monitor-dbus.test
988s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=30368
989s autopkgtest [18:53:34]: test memory-monitor-dbus: -----------------------]
989s memory-monitor-dbus PASS
989s autopkgtest [18:53:34]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - -
989s autopkgtest [18:53:34]: test socket: preparing testbed
990s Reading package lists...
990s Building dependency tree...
990s Reading state information...
991s Starting pkgProblemResolver with broken count: 0
991s Starting 2 pkgProblemResolver with broken count: 0
991s Done
991s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
992s autopkgtest [18:53:37]: test socket: [-----------------------
992s Running test: glib/socket.test
992s TAP version 14
992s # random seed: R02S799e74d3f2ebfa1ac62c73b2f140f01d
992s 1..28
992s # Start of socket tests
993s ok 1 /socket/ipv4_sync
993s # slow test /socket/ipv4_sync executed in 1.00 secs
994s ok 2 /socket/ipv4_async
994s # slow test /socket/ipv4_async executed in 1.00 secs
994s ok 3 /socket/ipv6_sync
994s ok 4 /socket/ipv6_async
994s ok 5 /socket/ipv6_v4mapped
995s ok 6 /socket/close_graceful
995s # slow test /socket/close_graceful executed in 1.00 secs
995s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
995s ok 8 /socket/fd_reuse
995s ok 9 /socket/address
995s ok 10 /socket/unix-from-fd
995s ok 11 /socket/unix-connection
995s ok 12 /socket/unix-connection-ancillary-data
995s ok 13 /socket/source-postmortem
995s ok 14 /socket/read_write
995s ok 15 /socket/read_writev
995s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
995s ok 16 /socket/receive_bytes
995s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
995s ok 17 /socket/receive_bytes_from
995s # Start of ipv4_sync tests
995s ok 18 /socket/ipv4_sync/datagram
995s # Start of datagram tests
996s ok 19 /socket/ipv4_sync/datagram/timeouts
996s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
996s # End of datagram tests
996s # End of ipv4_sync tests
996s # Start of ipv6_sync tests
996s ok 20 /socket/ipv6_sync/datagram
996s # Start of datagram tests
997s ok 21 /socket/ipv6_sync/datagram/timeouts
997s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
997s # End of datagram tests
997s # End of ipv6_sync tests
997s # Start of reuse tests
997s ok 22 /socket/reuse/tcp
997s ok 23 /socket/reuse/udp
997s # End of reuse tests
997s # Start of get_available tests
998s Executing: glib/socket.test
998s ok 24 /socket/get_available/datagram
998s ok 25 /socket/get_available/stream
998s # End of get_available tests
998s # Start of credentials tests
998s # Supported on this OS: GCredentials:linux-ucred:pid=0
998s ok 26 /socket/credentials/tcp_client
998s # Supported on this OS: GCredentials:linux-ucred:pid=0
998s ok 27 /socket/credentials/tcp_server
998s # Supported on this OS: GCredentials:linux-ucred:pid=18120,uid=1000,gid=1000
998s ok 28 /socket/credentials/unix_socketpair
998s # End of credentials tests
998s # End of socket tests
998s PASS: glib/socket.test
998s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5764
998s autopkgtest [18:53:43]: test socket: -----------------------]
998s socket PASS
998s autopkgtest [18:53:43]: test socket: - - - - - - - - - - results - - - - - - - - - -
999s autopkgtest [18:53:44]: test testfilemonitor: preparing testbed
999s Reading package lists...
999s Building dependency tree...
999s Reading state information...
999s Starting pkgProblemResolver with broken count: 0
999s Starting 2 pkgProblemResolver with broken count: 0
999s Done
999s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1000s autopkgtest [18:53:45]: test testfilemonitor: [-----------------------
1000s Running test: glib/testfilemonitor.test
1000s TAP version 14
1000s # random seed: R02S898ea6430630663c189ba97952975d34
1000s 1..8
1000s # Start of monitor tests
1000s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1000s # Using temporary directory: /tmp/gio-test-testfilemonitor_7K4052
1000s # Using GFileMonitor GInotifyFileMonitor
1002s ok 1 /monitor/atomic-replace
1002s # slow test /monitor/atomic-replace executed in 2.00 secs
1002s # Using temporary directory: /tmp/gio-test-testfilemonitor_FW3052
1002s # Using GFileMonitor GInotifyFileMonitor
1004s ok 2 /monitor/file-changes
1004s # slow test /monitor/file-changes executed in 2.50 secs
1004s # Using temporary directory: /tmp/gio-test-testfilemonitor_DXH752
1004s # Using GFileMonitor GInotifyFileMonitor
1006s Executing: glib/testfilemonitor.test
1008s ok 3 /monitor/dir-monitor
1008s # slow test /monitor/dir-monitor executed in 3.50 secs
1008s # Using temporary directory: /tmp/gio-test-testfilemonitor_518052
1008s # Using GFileMonitor GInotifyFileMonitor
1011s Executing: glib/testfilemonitor.test
1016s Executing: glib/testfilemonitor.test
1021s Executing: glib/testfilemonitor.test
1026s Executing: glib/testfilemonitor.test
1031s Executing: glib/testfilemonitor.test
1033s ok 4 /monitor/dir-not-existent
1033s # slow test /monitor/dir-not-existent executed in 25.02 secs
1033s # Using temporary directory: /tmp/gio-test-testfilemonitor_MF7V52
1033s # Using GFileMonitor 0 GInotifyFileMonitor
1033s # Using GFileMonitor 1 GInotifyFileMonitor
1035s ok 5 /monitor/cross-dir-moves
1035s # slow test /monitor/cross-dir-moves executed in 2.00 secs
1035s # Using temporary directory: /tmp/gio-test-testfilemonitor_EM5V52
1035s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock.
1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941
1035s ok 6 /monitor/finalize-in-callback
1035s # Using temporary directory: /tmp/gio-test-testfilemonitor_UVGW52
1035s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
1035s ok 7 /monitor/root
1035s # Start of file tests
1035s # Using temporary directory: /tmp/gio-test-testfilemonitor_XLGW52
1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721
1035s # Running with hard link tests
1035s # Using GFileMonitor GInotifyFileMonitor
1036s Executing: glib/testfilemonitor.test
1038s # Event 0 at expected index 7 skipped because it is marked as optional
1038s # Event 2 at expected index 11 skipped because it is marked as optional
1038s ok 8 /monitor/file/hard-links
1038s # slow test /monitor/file/hard-links executed in 3.50 secs
1038s # End of file tests
1038s # End of monitor tests
1038s PASS: glib/testfilemonitor.test
1038s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6048
1039s autopkgtest [18:54:24]: test testfilemonitor: -----------------------]
1039s testfilemonitor PASS
1039s autopkgtest [18:54:24]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - -
1040s autopkgtest [18:54:25]: test thread-pool-slow: preparing testbed
1040s Reading package lists...
1041s Building dependency tree...
1041s Reading state information...
1042s Starting pkgProblemResolver with broken count: 0
1042s Starting 2 pkgProblemResolver with broken count: 0
1042s Done
1043s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1045s autopkgtest [18:54:29]: test thread-pool-slow: [-----------------------
1045s Running test: glib/thread-pool-slow.test
1045s TAP version 14
1045s # random seed: R02S6e7de27bb3bd8ef0475bc66c1ae38db0
1045s 1..7
1045s # Start of threadpool tests
1045s ok 1 /threadpool/functions
1045s ok 2 /threadpool/stop-unused
1045s # slow test /threadpool/stop-unused executed in 0.55 secs
1046s ok 3 /threadpool/pools
1046s # [unsorted] ===> pushed new thread with id:82, number of threads:1, unprocessed:0
1046s # [unsorted] ===> pushed new thread with id:16, number of threads:2, unprocessed:0
1046s # [unsorted] ===> pushed new thread with id:89, number of threads:3, unprocessed:0
1046s # [unsorted] ===> pushed new thread with id:17, number of threads:4, unprocessed:1
1046s # [unsorted] ===> pushed new thread with id:40, number of threads:5, unprocessed:2
1046s # [unsorted] ===> pushed new thread with id:92, number of threads:6, unprocessed:3
1046s # [unsorted] ===> pushed new thread with id:55, number of threads:7, unprocessed:4
1046s # [unsorted] ===> pushed new thread with id:74, number of threads:8, unprocessed:5
1046s # [unsorted] ===> pushed new thread with id:95, number of threads:9, unprocessed:2
1046s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:2
1046s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:3
1046s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:4
1046s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:5
1046s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:6
1046s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:7
1046s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:8
1046s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:9
1046s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:10
1046s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:11
1046s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:12
1046s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:13
1046s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:14
1046s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:15
1046s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:16
1046s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:17
1046s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:18
1046s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:19
1046s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:20
1046s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:21
1046s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:22
1046s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:23
1046s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:24
1046s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:25
1046s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:26
1046s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:27
1046s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:28
1046s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:29
1046s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:30
1046s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:31
1046s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:32
1046s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:33
1046s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:34
1046s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:35
1046s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:36
1046s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:37
1046s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:38
1046s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:39
1046s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:40
1046s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:41
1046s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:42
1046s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:43
1046s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:44
1046s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:45
1046s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:46
1046s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:47
1046s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:48
1046s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:49
1046s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:50
1046s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:51
1046s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:52
1046s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:53
1046s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:54
1046s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:55
1046s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:56
1046s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:57
1046s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:58
1046s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:59
1046s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:60
1046s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:61
1046s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:62
1046s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:63
1046s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:64
1046s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:65
1046s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:66
1046s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:67
1046s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:68
1046s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:69
1046s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:70
1046s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:71
1046s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:72
1046s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:73
1046s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:74
1046s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:75
1046s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:76
1046s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:77
1046s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:78
1046s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:79
1046s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:80
1046s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:81
1046s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:82
1046s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:83
1046s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:84
1046s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:85
1046s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:86
1046s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:87
1046s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:88
1046s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:89
1046s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:90
1046s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:91
1046s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:92
1046s ok 4 /threadpool/no-sort
1046s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:1
1046s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:2
1046s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:3
1046s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:4
1046s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:5
1046s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:6
1046s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:7
1046s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:8
1046s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:9
1046s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:10
1046s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:11
1046s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:12
1046s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:13
1046s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:14
1046s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:15
1046s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:16
1046s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:17
1046s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:18
1046s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:19
1046s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:20
1046s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:21
1046s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:22
1046s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:23
1046s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:24
1046s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:25
1046s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:26
1046s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:27
1046s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:28
1046s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:29
1046s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:30
1046s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:31
1046s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:32
1046s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:33
1046s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:34
1046s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:35
1046s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:36
1046s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:37
1046s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:38
1046s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:39
1046s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:40
1046s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:41
1046s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:42
1046s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:43
1046s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:44
1046s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:45
1046s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:46
1046s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:47
1046s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:48
1046s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:49
1046s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:50
1046s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:51
1046s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:52
1046s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:53
1046s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:54
1046s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:55
1046s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:56
1046s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:57
1046s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:58
1046s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:59
1046s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:60
1046s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:61
1046s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:62
1046s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:63
1046s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:64
1046s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:65
1046s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:66
1046s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:67
1046s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:68
1046s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:69
1046s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:70
1046s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:71
1046s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:72
1046s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:73
1046s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:74
1046s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:75
1046s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:76
1046s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:77
1046s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:78
1046s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:79
1046s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:80
1046s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:81
1046s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:82
1046s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:83
1046s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:84
1046s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:85
1046s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:86
1046s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:87
1046s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:88
1046s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:89
1046s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:90
1046s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:91
1046s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:92
1046s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:93
1046s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:94
1046s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:95
1046s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:96
1046s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:97
1046s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:98
1046s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:99
1046s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:100
1046s # Starting thread pool processing
1046s ok 5 /threadpool/sort
1046s ok 6 /threadpool/stop-unused-multiple
1046s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs
1046s # Pool idle thread count: 0, unprocessed jobs: 49
1047s # Pool idle thread count: 0, unprocessed jobs: 0
1047s # Pool idle thread count: 0, unprocessed jobs: 0
1047s # Pool idle thread count: 10, unprocessed jobs: 0
1047s # Pool idle thread count: 10, unprocessed jobs: 0
1048s # Pool idle thread count: 10, unprocessed jobs: 0
1048s # Pool idle thread count: 10, unprocessed jobs: 0
1048s # Pool idle thread count: 10, unprocessed jobs: 0
1048s # Pool idle thread count: 10, unprocessed jobs: 0
1049s # Pool idle thread count: 10, unprocessed jobs: 0
1049s # Pool idle thread count: 10, unprocessed jobs: 0
1049s # Pool idle thread count: 10, unprocessed jobs: 0
1049s # Pool idle thread count: 10, unprocessed jobs: 0
1050s # Pool idle thread count: 10, unprocessed jobs: 0
1050s # Pool idle thread count: 10, unprocessed jobs: 0
1050s # Pool idle thread count: 10, unprocessed jobs: 0
1050s # Pool idle thread count: 10, unprocessed jobs: 0
1051s Executing: glib/thread-pool-slow.test
1051s # Pool idle thread count: 10, unprocessed jobs: 0
1051s # Pool idle thread count: 10, unprocessed jobs: 0
1051s # Pool idle thread count: 10, unprocessed jobs: 0
1051s # Pool idle thread count: 10, unprocessed jobs: 0
1052s # Pool idle thread count: 10, unprocessed jobs: 0
1052s # Pool idle thread count: 10, unprocessed jobs: 0
1052s # Pool idle thread count: 10, unprocessed jobs: 0
1052s # Pool idle thread count: 10, unprocessed jobs: 0
1053s # Pool idle thread count: 10, unprocessed jobs: 0
1053s # Pool idle thread count: 10, unprocessed jobs: 0
1053s # Pool idle thread count: 10, unprocessed jobs: 0
1053s # Pool idle thread count: 10, unprocessed jobs: 0
1054s # Pool idle thread count: 10, unprocessed jobs: 0
1054s # Pool idle thread count: 10, unprocessed jobs: 0
1054s # Pool idle thread count: 10, unprocessed jobs: 0
1054s # Pool idle thread count: 10, unprocessed jobs: 0
1055s # Pool idle thread count: 10, unprocessed jobs: 0
1055s # Pool idle thread count: 10, unprocessed jobs: 0
1055s # Pool idle thread count: 10, unprocessed jobs: 2
1055s # Pool idle thread count: 8, unprocessed jobs: 0
1055s # Pool idle thread count: 8, unprocessed jobs: 0
1055s # Pool idle thread count: 8, unprocessed jobs: 0
1056s Executing: glib/thread-pool-slow.test
1056s # Pool idle thread count: 10, unprocessed jobs: 0
1056s # Pool idle thread count: 10, unprocessed jobs: 0
1056s # Pool idle thread count: 10, unprocessed jobs: 0
1056s # Pool idle thread count: 10, unprocessed jobs: 0
1057s # Pool idle thread count: 10, unprocessed jobs: 0
1057s # Pool idle thread count: 10, unprocessed jobs: 0
1057s # Pool idle thread count: 2, unprocessed jobs: 0
1057s # Pool idle thread count: 2, unprocessed jobs: 0
1058s # Pool idle thread count: 2, unprocessed jobs: 0
1058s # Pool idle thread count: 2, unprocessed jobs: 0
1058s # Pool idle thread count: 2, unprocessed jobs: 0
1058s # Pool idle thread count: 2, unprocessed jobs: 0
1059s # Pool idle thread count: 2, unprocessed jobs: 0
1059s # Pool idle thread count: 2, unprocessed jobs: 0
1059s # Pool idle thread count: 2, unprocessed jobs: 0
1059s # Pool idle thread count: 2, unprocessed jobs: 0
1060s # Pool idle thread count: 2, unprocessed jobs: 0
1060s # Pool idle thread count: 2, unprocessed jobs: 0
1060s # Pool idle thread count: 2, unprocessed jobs: 0
1060s # Pool idle thread count: 2, unprocessed jobs: 0
1061s Executing: glib/thread-pool-slow.test
1061s # Pool idle thread count: 2, unprocessed jobs: 0
1061s # Pool idle thread count: 2, unprocessed jobs: 0
1061s # Pool idle thread count: 2, unprocessed jobs: 0
1061s # Pool idle thread count: 2, unprocessed jobs: 0
1062s # Pool idle thread count: 2, unprocessed jobs: 0
1062s # Pool idle thread count: 2, unprocessed jobs: 0
1062s # Pool idle thread count: 2, unprocessed jobs: 0
1062s # Pool idle thread count: 2, unprocessed jobs: 0
1063s # Pool idle thread count: 2, unprocessed jobs: 0
1063s # Pool idle thread count: 2, unprocessed jobs: 0
1063s # Pool idle thread count: 2, unprocessed jobs: 0
1063s # Pool idle thread count: 2, unprocessed jobs: 0
1064s # Pool idle thread count: 2, unprocessed jobs: 0
1064s # Pool idle thread count: 2, unprocessed jobs: 0
1064s # Pool idle thread count: 2, unprocessed jobs: 0
1064s # Pool idle thread count: 2, unprocessed jobs: 0
1065s # Pool idle thread count: 2, unprocessed jobs: 0
1065s # Pool idle thread count: 2, unprocessed jobs: 0
1065s # Pool idle thread count: 2, unprocessed jobs: 0
1065s # Pool idle thread count: 2, unprocessed jobs: 0
1066s Executing: glib/thread-pool-slow.test
1066s ok 7 /threadpool/idle-time
1066s # slow test /threadpool/idle-time executed in 19.53 secs
1066s # End of threadpool tests
1066s PASS: glib/thread-pool-slow.test
1066s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=4024
1066s autopkgtest [18:54:51]: test thread-pool-slow: -----------------------]
1066s thread-pool-slow PASS
1066s autopkgtest [18:54:51]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - -
1067s autopkgtest [18:54:52]: test threadtests: preparing testbed
1067s Reading package lists...
1067s Building dependency tree...
1067s Reading state information...
1067s Starting pkgProblemResolver with broken count: 0
1067s Starting 2 pkgProblemResolver with broken count: 0
1067s Done
1068s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1068s autopkgtest [18:54:53]: test threadtests: [-----------------------
1068s Running test: glib/threadtests.test
1068s TAP version 14
1068s # random seed: R02S5c77c015b2e9cdfee75ae4853d2b792a
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.80 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 5 /GObject/threaded-weak-ref/on-finalization
1069s # End of threaded-weak-ref tests
1069s # End of GObject tests
1069s PASS: glib/threadtests.test
1069s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.3s; maxrss=3672
1069s autopkgtest [18:54:54]: test threadtests: -----------------------]
1070s threadtests PASS
1070s autopkgtest [18:54:55]: test threadtests: - - - - - - - - - - results - - - - - - - - - -
1070s autopkgtest [18:54:55]: test timeout: preparing testbed
1070s Reading package lists...
1070s Building dependency tree...
1070s Reading state information...
1070s Starting pkgProblemResolver with broken count: 0
1071s Starting 2 pkgProblemResolver with broken count: 0
1071s Done
1071s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1071s autopkgtest [18:54:56]: test timeout: [-----------------------
1072s Running test: glib/timeout.test
1072s TAP version 14
1072s # random seed: R02Sb914f2b0382f1d445be1d3ec37a2682c
1072s 1..5
1072s # Start of timeout tests
1072s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1074s ok 1 /timeout/seconds
1074s # slow test /timeout/seconds executed in 2.10 secs
1076s ok 2 /timeout/seconds-once
1076s # slow test /timeout/seconds-once executed in 2.10 secs
1076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1077s Executing: glib/timeout.test
1078s ok 3 /timeout/weeks-overflow
1078s # slow test /timeout/weeks-overflow executed in 2.10 secs
1078s ok 4 /timeout/far-future-ready-time
1082s Executing: glib/timeout.test
1087s Executing: glib/timeout.test
1089s ok 5 /timeout/rounding
1089s # slow test /timeout/rounding executed in 10.71 secs
1089s # End of timeout tests
1089s PASS: glib/timeout.test
1089s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3120
1089s autopkgtest [18:55:14]: test timeout: -----------------------]
1089s timeout PASS
1089s autopkgtest [18:55:14]: test timeout: - - - - - - - - - - results - - - - - - - - - -
1094s autopkgtest [18:55:19]: test timer: preparing testbed
1094s Reading package lists...
1095s Building dependency tree...
1095s Reading state information...
1095s Starting pkgProblemResolver with broken count: 0
1095s Starting 2 pkgProblemResolver with broken count: 0
1095s Done
1095s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1096s autopkgtest [18:55:21]: test timer: [-----------------------
1096s Running test: glib/timer.test
1096s TAP version 14
1096s # random seed: R02S742120d2b4dc8139f689ee876598832c
1096s 1..10
1096s # Start of timer tests
1096s ok 1 /timer/basic
1096s ok 2 /timer/stop
1096s ok 3 /timer/continue
1096s ok 4 /timer/reset
1096s ok 5 /timer/is_active
1096s # End of timer tests
1096s # Start of timeval tests
1096s ok 6 /timeval/add
1096s ok 7 /timeval/from-iso8601
1096s ok 8 /timeval/to-iso8601
1096s # Start of to-iso8601 tests
1096s ok 9 /timeval/to-iso8601/overflow
1096s # End of to-iso8601 tests
1096s # End of timeval tests
1096s # Start of usleep tests
1096s ok 10 /usleep/with-zero-wait
1096s # End of usleep tests
1096s PASS: glib/timer.test
1096s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3256
1097s autopkgtest [18:55:22]: test timer: -----------------------]
1097s timer PASS
1097s autopkgtest [18:55:22]: test timer: - - - - - - - - - - results - - - - - - - - - -
1097s autopkgtest [18:55:22]: test 1065022-futureproofing: preparing testbed
1156s autopkgtest [18:56:21]: testbed dpkg architecture: s390x
1156s autopkgtest [18:56:21]: testbed apt version: 3.0.0
1157s autopkgtest [18:56:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1157s autopkgtest [18:56:22]: testbed release detected to be: plucky
1157s autopkgtest [18:56:22]: updating testbed package index (apt update)
1158s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB]
1158s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
1158s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
1158s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
1158s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B]
1158s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [5792 B]
1158s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [288 B]
1158s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B]
1158s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [12.1 kB]
1158s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [7952 B]
1158s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [172 B]
1159s Fetched 297 kB in 0s (720 kB/s)
1159s Reading package lists...
1160s autopkgtest [18:56:25]: upgrading testbed (apt dist-upgrade and autopurge)
1160s Reading package lists...
1160s Building dependency tree...
1160s Reading state information...
1160s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
1160s Starting 2 pkgProblemResolver with broken count: 0
1160s Done
1161s Entering ResolveByKeep
1161s
1161s Calculating upgrade...
1161s The following packages will be upgraded:
1161s tzdata
1161s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1161s Need to get 198 kB of archives.
1161s After this operation, 0 B of additional disk space will be used.
1161s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tzdata all 2025b-1ubuntu1.1 [198 kB]
1161s Preconfiguring packages ...
1161s Fetched 198 kB in 0s (0 B/s)
1161s (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 ... 59826 files and directories currently installed.)
1161s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ...
1161s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ...
1161s Setting up tzdata (2025b-1ubuntu1.1) ...
1161s
1161s Current default time zone: 'Etc/UTC'
1161s Local time is now: Tue May 6 18:58:10 UTC 2025.
1161s Universal Time is now: Tue May 6 18:58:10 UTC 2025.
1161s Run 'dpkg-reconfigure tzdata' if you wish to change it.
1161s
1162s Reading package lists...
1162s Building dependency tree...
1162s Reading state information...
1162s Starting pkgProblemResolver with broken count: 0
1162s Starting 2 pkgProblemResolver with broken count: 0
1162s Done
1162s Solving dependencies...
1162s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1165s Reading package lists...
1165s Building dependency tree...
1165s Reading state information...
1165s Starting pkgProblemResolver with broken count: 0
1166s Starting 2 pkgProblemResolver with broken count: 0
1166s Done
1166s The following NEW packages will be installed:
1166s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas
1166s libdconf1
1166s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
1166s Need to get 140 kB of archives.
1166s After this operation, 638 kB of additional disk space will be used.
1166s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libdconf1 s390x 0.40.0-5 [40.0 kB]
1166s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-service s390x 0.40.0-5 [28.4 kB]
1166s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-gsettings-backend s390x 0.40.0-5 [22.8 kB]
1166s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x dpkg-repack all 1.54 [11.2 kB]
1166s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x gsettings-desktop-schemas all 48.0-1ubuntu1 [37.6 kB]
1166s Fetched 140 kB in 0s (0 B/s)
1166s Selecting previously unselected package libdconf1:s390x.
1166s (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 ... 59826 files and directories currently installed.)
1166s Preparing to unpack .../libdconf1_0.40.0-5_s390x.deb ...
1166s Unpacking libdconf1:s390x (0.40.0-5) ...
1166s Selecting previously unselected package dconf-service.
1166s Preparing to unpack .../dconf-service_0.40.0-5_s390x.deb ...
1166s Unpacking dconf-service (0.40.0-5) ...
1166s Selecting previously unselected package dconf-gsettings-backend:s390x.
1166s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_s390x.deb ...
1166s Unpacking dconf-gsettings-backend:s390x (0.40.0-5) ...
1166s Selecting previously unselected package dpkg-repack.
1166s Preparing to unpack .../dpkg-repack_1.54_all.deb ...
1166s Unpacking dpkg-repack (1.54) ...
1166s Selecting previously unselected package gsettings-desktop-schemas.
1166s Preparing to unpack .../gsettings-desktop-schemas_48.0-1ubuntu1_all.deb ...
1166s Unpacking gsettings-desktop-schemas (48.0-1ubuntu1) ...
1166s Setting up dpkg-repack (1.54) ...
1166s Setting up libdconf1:s390x (0.40.0-5) ...
1166s Setting up dconf-service (0.40.0-5) ...
1166s Setting up dconf-gsettings-backend:s390x (0.40.0-5) ...
1166s Setting up gsettings-desktop-schemas (48.0-1ubuntu1) ...
1166s Processing triggers for man-db (2.13.0-1) ...
1167s Processing triggers for libglib2.0-0t64:s390x (2.84.1-1) ...
1167s Processing triggers for libc-bin (2.41-6ubuntu1) ...
1171s autopkgtest [18:56:36]: test 1065022-futureproofing: [-----------------------
1172s + export DEBIAN_FRONTEND=noninteractive
1172s + n=0
1172s + failed=0
1172s + binary_package=libglib2.0-0t64
1172s + future_binary_package=libglib2.0-0xyz
1172s + pwd
1172s + srcdir=/tmp/autopkgtest.lWHyJ6/build.dT7/src
1172s + mktemp -d
1172s dpkg-repack 1.54
1172s + tmpdir=/tmp/tmp.KoxQLL6SfF
1172s + cd /tmp/tmp.KoxQLL6SfF
1172s + [ -e /tmp/autopkgtest.lWHyJ6/build.dT7/src/debian/tests/manual/local-1065022.sources ]
1172s + dpkg-query -W dpkg-repack
1172s + dpkg-repack --generate libglib2.0-0t64
1173s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file
1173s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.rSIT6O for libglib2.0-0t64
1173s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.rSIT6O ."
1173s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.rSIT6O/DEBIAN/control
1173s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.rSIT6O/DEBIAN/control
1173s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.rSIT6O/DEBIAN/control
1173s + 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.rSIT6O/DEBIAN/control
1173s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.rSIT6O libglib2.0-0xyz.deb
1173s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'.
1179s + apt-get -y install ./libglib2.0-0xyz.deb
1179s Reading package lists...
1179s Building dependency tree...
1179s Reading state information...
1180s Solving dependencies...
1180s The following packages were automatically installed and are no longer required:
1180s apport-symptoms exfatprogs fuse3 jq libatasmart4 libbytesize-common
1180s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libfuse3-3 libgpgme11t64
1180s libicu76 libinih1 libjq1 libjson-glib-1.0-common libnl-genl-3-200 libnspr4
1180s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-configobj
1180s python3-debconf python3-markdown-it python3-mdurl python3-problem-report
1180s python3-pygments python3-rich python3-systemd s390-tools-data
1180s s390-tools-signed
1180s Use 'sudo apt autoremove' to remove them.
1180s The following additional packages will be installed:
1180s xdg-user-dirs
1180s Suggested packages:
1180s low-memory-monitor
1180s Recommended packages:
1180s shared-mime-info
1180s The following packages will be REMOVED:
1180s apport apport-core-dump-handler bolt cloud-init cloud-init-base
1180s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0
1180s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3
1180s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3
1180s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3
1180s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0
1180s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0
1180s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5
1180s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2
1180s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi
1180s python3-netplan s390-tools shared-mime-info sysconfig-hardware
1180s ubuntu-minimal udisks2 xfsprogs
1180s The following NEW packages will be installed:
1180s libglib2.0-0xyz xdg-user-dirs
1180s 0 upgraded, 2 newly installed, 51 to remove and 0 not upgraded.
1180s Need to get 19.2 kB/1606 kB of archives.
1180s After this operation, 65.6 MB disk space will be freed.
1180s Get:1 /tmp/tmp.KoxQLL6SfF/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.84.1-1 [1587 kB]
1180s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x xdg-user-dirs s390x 0.18-2 [19.2 kB]
1180s Fetched 19.2 kB in 0s (364 kB/s)
1180s (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 ... 59895 files and directories currently installed.)
1180s Removing bolt (0.9.8-1) ...
1181s Removing cloud-init (25.1.1-0ubuntu2) ...
1181s Removing cloud-init-base (25.1.1-0ubuntu2) ...
1181s Removing gsettings-desktop-schemas (48.0-1ubuntu1) ...
1181s Removing dconf-gsettings-backend:s390x (0.40.0-5) ...
1181s Removing dconf-service (0.40.0-5) ...
1181s Removing fwupd (2.0.7-1) ...
1182s Removing networkd-dispatcher (2.2.4-1.1) ...
1182s Removing udisks2 (2.10.1-11ubuntu2) ...
1182s Removing libblockdev-crypto3:s390x (3.3.0-2) ...
1182s Removing libblockdev-fs3:s390x (3.3.0-2) ...
1182s Removing libblockdev-loop3:s390x (3.3.0-2) ...
1182s Removing libblockdev-mdraid3:s390x (3.3.0-2) ...
1182s Removing libblockdev-nvme3:s390x (3.3.0-2) ...
1182s Removing libblockdev-part3:s390x (3.3.0-2) ...
1182s Removing libblockdev-swap3:s390x (3.3.0-2) ...
1182s Removing libblockdev3:s390x (3.3.0-2) ...
1182s Removing libblockdev-utils3:s390x (3.3.0-2) ...
1182s Removing libdconf1:s390x (0.40.0-5) ...
1182s Removing libfwupd3:s390x (2.0.7-1) ...
1182s Removing shared-mime-info (2.4-5build1) ...
1182s Removing sysconfig-hardware (0.0.14+nmu2ubuntu1) ...
1183s Removing s390-tools (2.37.0-0ubuntu2) ...
1183s Removing libgudev-1.0-0:s390x (1:238-6) ...
1183s Removing libjcat1:s390x (0.2.0-2build3) ...
1183s Removing libjson-glib-1.0-0:s390x (1.10.6+ds-2) ...
1183s Removing libqmi-proxy (1.35.6-1) ...
1183s Removing libqmi-glib5:s390x (1.35.6-1) ...
1183s Removing libmbim-proxy (1.31.2-0ubuntu4) ...
1183s Removing libmbim-glib4:s390x (1.31.2-0ubuntu4) ...
1183s Removing libmm-glib0:s390x (1.23.4-0ubuntu3) ...
1183s Removing ubuntu-minimal (1.549) ...
1183s Removing netplan.io (1.1.2-2ubuntu1) ...
1183s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed
1183s Removing python3-netplan (1.1.2-2ubuntu1) ...
1183s Removing netplan-generator (1.1.2-2ubuntu1) ...
1183s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed
1183s Removing libnetplan1:s390x (1.1.2-2ubuntu1) ...
1183s Removing libpolkit-agent-1-0:s390x (126-2) ...
1183s Removing libpolkit-gobject-1-0:s390x (126-2) ...
1183s Removing libqrtr-glib0:s390x (1.2.2-1ubuntu4) ...
1183s Removing libudisks2-0:s390x (2.10.1-11ubuntu2) ...
1183s Removing libvolume-key1:s390x (0.3.12-9) ...
1183s Removing libxmlb2:s390x (0.3.22-1) ...
1183s Removing xfsprogs (6.13.0-2ubuntu1) ...
1183s Removing python3-dbus (1.3.2-5build5) ...
1183s Removing apport (2.32.0-0ubuntu5) ...
1184s Removing apport-core-dump-handler (2.32.0-0ubuntu5) ...
1184s Removing python3-gi (3.50.0-4build1) ...
1184s Removing gir1.2-girepository-2.0:s390x (1.84.0-1) ...
1184s Removing gir1.2-glib-2.0:s390x (2.84.1-1) ...
1184s Removing libgirepository-1.0-1:s390x (1.84.0-1) ...
1184s Removing libglib2.0-0t64:s390x (2.84.1-1) ...
1184s Selecting previously unselected package libglib2.0-0xyz:s390x.
1184s (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 ... 58463 files and directories currently installed.)
1184s Preparing to unpack .../libglib2.0-0xyz.deb ...
1184s Unpacking libglib2.0-0xyz:s390x (2.84.1-1) ...
1184s Selecting previously unselected package xdg-user-dirs.
1184s Preparing to unpack .../xdg-user-dirs_0.18-2_s390x.deb ...
1184s Unpacking xdg-user-dirs (0.18-2) ...
1184s Setting up xdg-user-dirs (0.18-2) ...
1184s Setting up libglib2.0-0xyz:s390x (2.84.1-1) ...
1184s No schema files found: removed existing output file.
1184s Processing triggers for dbus (1.16.2-2ubuntu1) ...
1184s Processing triggers for initramfs-tools (0.147ubuntu1) ...
1184s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
1184s W: No lz4 in /usr/bin:/sbin:/bin, using gzip
1186s Processing triggers for libc-bin (2.41-6ubuntu1) ...
1186s Processing triggers for man-db (2.13.0-1) ...
1187s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1187s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1187s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1187s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1187s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1187s + n=1
1187s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1187s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1187s + failed=1
1187s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1187s + n=2
1187s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1187s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1187s + failed=1
1187s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
1187s + n=3
1187s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1187s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1187s + failed=1
1187s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
1187s + n=4
1187s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
1187s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1187s + failed=1
1187s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
1187s + n=5
1187s + test -e /usr/lib/*/gio/modules/giomodule.cache
1187s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1187s + failed=1
1187s + assert test -s /usr/lib/*/gio/modules/giomodule.cache
1187s + n=6
1187s + test -s /usr/lib/*/gio/modules/giomodule.cache
1187s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1187s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1187s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1187s + failed=1
1187s + apt-get -y purge libglib2.0-0t64
1187s Reading package lists...
1187s Building dependency tree...
1187s Reading state information...
1187s The following packages were automatically installed and are no longer required:
1187s apport-symptoms exfatprogs fuse3 jq libatasmart4 libbytesize-common
1187s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libfuse3-3 libgpgme11t64
1187s libicu76 libinih1 libjq1 libjson-glib-1.0-common libnl-genl-3-200 libnspr4
1187s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-configobj
1187s python3-debconf python3-markdown-it python3-mdurl python3-problem-report
1187s python3-pygments python3-rich python3-systemd s390-tools-data
1187s s390-tools-signed
1187s Use 'sudo apt autoremove' to remove them.
1187s The following packages will be REMOVED:
1187s libglib2.0-0t64*
1188s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1188s After this operation, 0 B of additional disk space will be used.
1188s (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 ... 58498 files and directories currently installed.)
1188s Purging configuration files for libglib2.0-0t64:s390x (2.84.1-1) ...
1188s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1188s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1188s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1188s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1188s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1188s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1188s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1188s + n=7
1188s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1188s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1188s + failed=1
1188s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1188s + n=8
1188s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1188s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1188s + failed=1
1188s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
1188s + n=9
1188s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1188s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1188s + failed=1
1188s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
1188s + n=10
1188s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
1188s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1188s + failed=1
1188s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
1188s + n=11
1188s + test -e /usr/lib/*/gio/modules/giomodule.cache
1188s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1188s + failed=1
1188s + assert test -s /usr/lib/*/gio/modules/giomodule.cache
1188s + n=12
1188s + test -s /usr/lib/*/gio/modules/giomodule.cache
1188s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1188s + failed=1
1188s + apt-get -y purge libglib2.0-0xyz
1188s Reading package lists...
1188s Building dependency tree...
1188s Reading state information...
1188s The following packages were automatically installed and are no longer required:
1188s apport-symptoms exfatprogs fuse3 jq libatasmart4 libatomic1
1188s libbytesize-common libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2
1188s libfuse3-3 libglib2.0-data libgpgme11t64 libicu76 libinih1 libjq1
1188s libjson-glib-1.0-common libnl-genl-3-200 libnspr4 libnss3 libnvme1t64
1188s libonig5 libprotobuf-c1 python3-apport python3-configobj python3-debconf
1188s python3-markdown-it python3-mdurl python3-problem-report python3-pygments
1188s python3-rich python3-systemd s390-tools-data s390-tools-signed xdg-user-dirs
1188s Use 'sudo apt autoremove' to remove them.
1188s The following packages will be REMOVED:
1188s libglib2.0-0xyz*
1188s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1188s After this operation, 4676 kB disk space will be freed.
1188s (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 ... 58498 files and directories currently installed.)
1188s Removing libglib2.0-0xyz:s390x (2.84.1-1) ...
1188s Processing triggers for libc-bin (2.41-6ubuntu1) ...
1188s (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 ... 58473 files and directories currently installed.)
1188s Purging configuration files for libglib2.0-0xyz:s390x (2.84.1-1) ...
1189s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1189s + n=13
1189s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1189s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1189s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1189s + n=14
1189s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1189s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1189s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1189s + assert_not testok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1189s -e /usr/lib/*/gio/modules/libdconfsettings.so
1189s + n=15
1189s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1189s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
1189s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache
1189s + n=16
1189s + test -e /usr/lib/*/gio/modules/giomodule.cache
1189s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
1189s + echo 1..16
1189s + exit 1
1189s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
1189s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
1189s 1..16
1189s autopkgtest [18:56:54]: test 1065022-futureproofing: -----------------------]
1189s autopkgtest [18:56:54]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - -
1189s 1065022-futureproofing FLAKY non-zero exit status 1
1189s autopkgtest [18:56:54]: @@@@@@@@@@@@@@@@@@@@ summary
1189s build PASS (superficial)
1189s build-static PASS (superficial)
1189s girepository-tools PASS (superficial)
1189s libgio-2.0-dev-bin PASS (superficial)
1189s libglib2.0-dev PASS (superficial)
1189s installed-tests PASS
1189s closure-refcount PASS
1189s debugcontroller PASS
1189s gdbus-server-auth PASS
1189s gdbus-threading PASS
1189s gmenumodel PASS
1189s mainloop PASS
1189s memory-monitor-dbus PASS
1189s socket PASS
1189s testfilemonitor PASS
1189s thread-pool-slow PASS
1189s threadtests PASS
1189s timeout PASS
1189s timer PASS
1189s 1065022-futureproofing FLAKY non-zero exit status 1
1193s nova [W] Using flock in prodstack7-s390x
1193s Creating nova instance adt-plucky-s390x-glib2.0-20250506-183705-juju-7f2275-prod-proposed-migration-environment-15-9a1a0547-c9d2-485a-adfe-7106ce2cfcee from image adt/ubuntu-plucky-s390x-server-20250506.img (UUID 7269b5e0-888e-4810-b283-bb7f1baab1ca)...
1193s nova [W] Timed out waiting for eff85b39-3d12-41b9-8a75-bab9fd20532c to get deleted.
1193s nova [W] Using flock in prodstack7-s390x
1193s Creating nova instance adt-plucky-s390x-glib2.0-20250506-183705-juju-7f2275-prod-proposed-migration-environment-15-9a1a0547-c9d2-485a-adfe-7106ce2cfcee from image adt/ubuntu-plucky-s390x-server-20250506.img (UUID 7269b5e0-888e-4810-b283-bb7f1baab1ca)...
1193s nova [W] Timed out waiting for 982fa927-8987-4573-a574-69efe71eb3ea to get deleted.
1193s nova [W] Using flock in prodstack7-s390x
1193s Creating nova instance adt-plucky-s390x-glib2.0-20250506-183705-juju-7f2275-prod-proposed-migration-environment-15-9a1a0547-c9d2-485a-adfe-7106ce2cfcee from image adt/ubuntu-plucky-s390x-server-20250506.img (UUID 7269b5e0-888e-4810-b283-bb7f1baab1ca)...
1193s nova [W] Timed out waiting for 0b88f7f4-df82-46f6-90df-bad1a92be25a to get deleted.
1193s nova [W] Using flock in prodstack7-s390x
1193s Creating nova instance adt-plucky-s390x-glib2.0-20250506-183705-juju-7f2275-prod-proposed-migration-environment-15-9a1a0547-c9d2-485a-adfe-7106ce2cfcee from image adt/ubuntu-plucky-s390x-server-20250506.img (UUID 7269b5e0-888e-4810-b283-bb7f1baab1ca)...
1193s nova [W] Timed out waiting for a95a9c8b-d953-4da3-9294-547647bf3e96 to get deleted.
1193s nova [W] Using flock in prodstack7-s390x
1193s Creating nova instance adt-plucky-s390x-glib2.0-20250506-183705-juju-7f2275-prod-proposed-migration-environment-15-9a1a0547-c9d2-485a-adfe-7106ce2cfcee from image adt/ubuntu-plucky-s390x-server-20250506.img (UUID 7269b5e0-888e-4810-b283-bb7f1baab1ca)...
1193s nova [W] Timed out waiting for 201c59d3-4c64-458c-b349-6663dcb74152 to get deleted.
1193s nova [W] Using flock in prodstack7-s390x
1193s Creating nova instance adt-plucky-s390x-glib2.0-20250506-183705-juju-7f2275-prod-proposed-migration-environment-15-9a1a0547-c9d2-485a-adfe-7106ce2cfcee from image adt/ubuntu-plucky-s390x-server-20250506.img (UUID 7269b5e0-888e-4810-b283-bb7f1baab1ca)...
1193s nova [W] Timed out waiting for 28e2e1c4-8677-47a6-bd8a-94521cc572e4 to get deleted.